Class: Iknow::Item::Response
- Inherits:
-
Object
- Object
- Iknow::Item::Response
- Defined in:
- lib/iknow/model/item.rb
Constant Summary collapse
- ATTRIBUTES =
[:text, :type, :language]
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Response
constructor
A new instance of Response.
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 |