Class: KSequencing::Client
- Inherits:
-
Object
- Object
- KSequencing::Client
- Defined in:
- lib/k_sequencing/client.rb
Instance Method Summary collapse
- #create_image_choices(options = {}) ⇒ Object
- #create_image_closed_questions(options = {}) ⇒ Object
- #create_image_messages(options = {}) ⇒ Object
- #create_image_photo_tags(options = {}) ⇒ Object
- #get_image_choice(options = {}) ⇒ Object
- #get_image_closed_question(options = {}) ⇒ Object
- #get_image_message(options = {}) ⇒ Object
- #get_image_photo_tag(options = {}) ⇒ Object
Instance Method Details
#create_image_choices(options = {}) ⇒ Object
5 6 7 |
# File 'lib/k_sequencing/client.rb', line 5 def create_image_choices( = {}) connection.post("/api/images/choices", ) end |
#create_image_closed_questions(options = {}) ⇒ Object
9 10 11 |
# File 'lib/k_sequencing/client.rb', line 9 def create_image_closed_questions( = {}) connection.post("/api/images/closed_questions", ) end |
#create_image_messages(options = {}) ⇒ Object
13 14 15 |
# File 'lib/k_sequencing/client.rb', line 13 def ( = {}) connection.post("/api/images/messages", ) end |
#create_image_photo_tags(options = {}) ⇒ Object
17 18 19 |
# File 'lib/k_sequencing/client.rb', line 17 def ( = {}) connection.post("/api/images/photo_tags", ) end |
#get_image_choice(options = {}) ⇒ Object
21 22 23 |
# File 'lib/k_sequencing/client.rb', line 21 def get_image_choice( = {}) connection.get("/api/images/choice", ) end |
#get_image_closed_question(options = {}) ⇒ Object
25 26 27 |
# File 'lib/k_sequencing/client.rb', line 25 def get_image_closed_question( = {}) connection.get("/api/images/closed_question", ) end |
#get_image_message(options = {}) ⇒ Object
29 30 31 |
# File 'lib/k_sequencing/client.rb', line 29 def ( = {}) connection.get("/api/images/message", ) end |
#get_image_photo_tag(options = {}) ⇒ Object
33 34 35 |
# File 'lib/k_sequencing/client.rb', line 33 def get_image_photo_tag( = {}) connection.get("/api/images/photo_tag", ) end |