class KSequencing::ImagePhotoTag

Public Instance Methods

all(options = {}) click to toggle source
# File lib/k_sequencing/image_photo_tags.rb, line 5
def all(options = {})
  options[:token] ||= KSequencing.project_key
  connection.get('/api/images/photo_tags', options)
end
create(options = {}) click to toggle source
# File lib/k_sequencing/image_photo_tags.rb, line 10
def create(options = {})
  options[:token] ||= KSequencing.project_key
  connection.post('/api/images/photo_tags', options)
end
find_by(options = {}) click to toggle source
# File lib/k_sequencing/image_photo_tags.rb, line 15
def find_by(options = {})
  options[:token] ||= KSequencing.project_key
  connection.get('/api/images/photo_tag', options)
end

Private Instance Methods

connection() click to toggle source
# File lib/k_sequencing/image_photo_tags.rb, line 22
def connection
  @connection ||= Connection.new
end