Class: Monkeylearn::MultiResponse
- Inherits:
-
Object
- Object
- Monkeylearn::MultiResponse
- Defined in:
- lib/monkeylearn/response.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#plan_queries_allowed ⇒ Object
readonly
Returns the value of attribute plan_queries_allowed.
-
#plan_queries_remaining ⇒ Object
readonly
Returns the value of attribute plan_queries_remaining.
-
#request_queries_used ⇒ Object
readonly
Returns the value of attribute request_queries_used.
-
#responses ⇒ Object
Returns the value of attribute responses.
Instance Method Summary collapse
-
#initialize(responses) ⇒ MultiResponse
constructor
A new instance of MultiResponse.
Constructor Details
#initialize(responses) ⇒ MultiResponse
Returns a new instance of MultiResponse.
26 27 28 |
# File 'lib/monkeylearn/response.rb', line 26 def initialize(responses) self.responses = responses end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
24 25 26 |
# File 'lib/monkeylearn/response.rb', line 24 def body @body end |
#plan_queries_allowed ⇒ Object (readonly)
Returns the value of attribute plan_queries_allowed.
24 25 26 |
# File 'lib/monkeylearn/response.rb', line 24 def plan_queries_allowed @plan_queries_allowed end |
#plan_queries_remaining ⇒ Object (readonly)
Returns the value of attribute plan_queries_remaining.
24 25 26 |
# File 'lib/monkeylearn/response.rb', line 24 def plan_queries_remaining @plan_queries_remaining end |
#request_queries_used ⇒ Object (readonly)
Returns the value of attribute request_queries_used.
24 25 26 |
# File 'lib/monkeylearn/response.rb', line 24 def request_queries_used @request_queries_used end |
#responses ⇒ Object
Returns the value of attribute responses.
24 25 26 |
# File 'lib/monkeylearn/response.rb', line 24 def responses @responses end |