Class: Smartfm::Item::Response

Inherits:
Base
  • Object
show all
Defined in:
lib/smartfm/models/item.rb

Constant Summary collapse

ATTRIBUTES =
[:text, :text_with_character, :type, :language]
READONLY_ATTRIBUTES =
[:type]

Instance Method Summary collapse

Methods inherited from Base

attributes, #attributes

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