Class: Smartfm::Item::Response
Constant Summary collapse
- ATTRIBUTES =
[:text, :text_with_character, :type, :language]
- READONLY_ATTRIBUTES =
[:type]
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Response
constructor
A new instance of Response.
Methods inherited from Base
Constructor Details
#initialize(params = {}) ⇒ Response
Returns a new instance of Response.
20 21 22 23 24 |
# File 'lib/smartfm/models/item.rb', line 20 def initialize(params = {}) @text = params[:text] @type = params[:type] @language = params[:language] end |