Class: KSequencing::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/k_sequencing/client.rb

Instance Method Summary collapse

Instance Method Details

#create_image_choices(options = {}) ⇒ Object



5
6
7
# File 'lib/k_sequencing/client.rb', line 5

def create_image_choices(options = {})
  connection.post("/api/images/choices", options)
end

#create_image_closed_questions(options = {}) ⇒ Object



9
10
11
# File 'lib/k_sequencing/client.rb', line 9

def create_image_closed_questions(options = {})
  connection.post("/api/images/closed_questions", options)
end

#create_image_messages(options = {}) ⇒ Object



13
14
15
# File 'lib/k_sequencing/client.rb', line 13

def create_image_messages(options = {})
  connection.post("/api/images/messages", options)
end

#create_image_photo_tags(options = {}) ⇒ Object



17
18
19
# File 'lib/k_sequencing/client.rb', line 17

def create_image_photo_tags(options = {})
  connection.post("/api/images/photo_tags", options)
end

#get_image_choice(options = {}) ⇒ Object



21
22
23
# File 'lib/k_sequencing/client.rb', line 21

def get_image_choice(options = {})
  connection.get("/api/images/choice", options)
end

#get_image_closed_question(options = {}) ⇒ Object



25
26
27
# File 'lib/k_sequencing/client.rb', line 25

def get_image_closed_question(options = {})
  connection.get("/api/images/closed_question", options)
end

#get_image_message(options = {}) ⇒ Object



29
30
31
# File 'lib/k_sequencing/client.rb', line 29

def get_image_message(options = {})
  connection.get("/api/images/message", options)
end

#get_image_photo_tag(options = {}) ⇒ Object



33
34
35
# File 'lib/k_sequencing/client.rb', line 33

def get_image_photo_tag(options = {})
  connection.get("/api/images/photo_tag", options)
end