Class: Iknow::Item::Response

Inherits:
Object
  • 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

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