Class: Iknow::Item::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/iknow/model/item.rb

Constant Summary collapse

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

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ Response

Returns a new instance of Response.



9
10
11
12
13
# File 'lib/iknow/model/item.rb', line 9

def initialize(params = {})
  @text     = params[:text]
  @type     = params[:type]
  @language = params[:language]
end