Class: Iknow::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
attributes, #attributes, deserialize, #deserialize
Constructor Details
#initialize(params = {}) ⇒ Response
Returns a new instance of Response.
13 14 15 16 17 |
# File 'lib/iknow/model/item.rb', line 13 def initialize(params = {}) @text = params[:text] @type = params[:type] @language = params[:language] end |