Class: Iknow::Item::Cue
Constant Summary collapse
- ATTRIBUTES =
[:text, :sound, :part_of_speech, :language, :transliterations]
- READONLY_ATTRIBUTES =
[:sound]
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Cue
constructor
A new instance of Cue.
Methods inherited from Base
attributes, #attributes, deserialize, #deserialize
Constructor Details
#initialize(params = {}) ⇒ Cue
Returns a new instance of Cue.
26 27 28 29 30 31 32 |
# File 'lib/iknow/model/item.rb', line 26 def initialize(params = {}) @text = params[:text] @sound = params[:sound] @part_of_speech = params[:part_of_speech] @language = params[:language] @transliterations = params[:transliterations] end |