Class: KSequencing::ImageChoice
- Inherits:
-
Object
- Object
- KSequencing::ImageChoice
- Defined in:
- lib/k_sequencing/image_choices.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#all(options = {}) ⇒ Object
5 6 7 8 |
# File 'lib/k_sequencing/image_choices.rb', line 5 def all( = {}) [:token] ||= KSequencing.project_key connection.get('/api/images/choices', ) end |
#create(options = {}) ⇒ Object
10 11 12 13 |
# File 'lib/k_sequencing/image_choices.rb', line 10 def create( = {}) [:token] ||= KSequencing.project_key connection.post('/api/images/choices', ) end |
#find_by(options = {}) ⇒ Object
15 16 17 18 |
# File 'lib/k_sequencing/image_choices.rb', line 15 def find_by( = {}) [:token] ||= KSequencing.project_key connection.get('/api/images/choice', ) end |