Class: Smartfm::Item::Cue
Constant Summary collapse
- ATTRIBUTES =
[:type, :text, :image, :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
Constructor Details
#initialize(params = {}) ⇒ Cue
Returns a new instance of Cue.
33 34 35 36 37 38 39 40 41 |
# File 'lib/smartfm/models/item.rb', line 33 def initialize(params = {}) @type = params[:type] @text = params[:text] @image = params[:image] @sound = params[:sound] @part_of_speech = params[:part_of_speech] @language = params[:language] @transliterations = params[:transliterations] end |