Class: Iknow::Item::Response

Inherits:
Base
  • Object
show all
Defined in:
lib/iknow/model/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, 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