Class: Datawow::ImageChoice
- Inherits:
-
Object
- Object
- Datawow::ImageChoice
- Includes:
- Models::Interface
- Defined in:
- lib/datawow/models/images/image_choices.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#project_key ⇒ Object
writeonly
Sets the attribute project_key.
Instance Method Summary collapse
-
#initialize ⇒ ImageChoice
constructor
A new instance of ImageChoice.
Methods included from Models::Interface
Constructor Details
#initialize ⇒ ImageChoice
Returns a new instance of ImageChoice.
10 11 12 13 14 15 |
# File 'lib/datawow/models/images/image_choices.rb', line 10 def initialize @project_key = nil @type = :image @query_str ||= nil @path = 'images/choices' end |
Instance Attribute Details
#project_key=(value) ⇒ Object (writeonly)
Sets the attribute project_key
8 9 10 |
# File 'lib/datawow/models/images/image_choices.rb', line 8 def project_key=(value) @project_key = value end |