Class: Monkeylearn::MultiResponse
- Inherits:
-
Object
- Object
- Monkeylearn::MultiResponse
- Defined in:
- lib/monkeylearn/response.rb
Instance Attribute Summary collapse
-
#query_limit_remaining ⇒ Object
readonly
Returns the value of attribute query_limit_remaining.
-
#responses ⇒ Object
Returns the value of attribute responses.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(responses) ⇒ MultiResponse
constructor
A new instance of MultiResponse.
Constructor Details
#initialize(responses) ⇒ MultiResponse
19 20 21 |
# File 'lib/monkeylearn/response.rb', line 19 def initialize(responses) self.responses = responses end |
Instance Attribute Details
#query_limit_remaining ⇒ Object (readonly)
Returns the value of attribute query_limit_remaining.
17 18 19 |
# File 'lib/monkeylearn/response.rb', line 17 def query_limit_remaining @query_limit_remaining end |
#responses ⇒ Object
Returns the value of attribute responses.
17 18 19 |
# File 'lib/monkeylearn/response.rb', line 17 def responses @responses end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
17 18 19 |
# File 'lib/monkeylearn/response.rb', line 17 def result @result end |