Class: Monkeylearn::MultiResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/monkeylearn/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject (readonly)

Returns the value of attribute body.



24
25
26
# File 'lib/monkeylearn/response.rb', line 24

def body
  @body
end

#plan_queries_allowedObject (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_remainingObject (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_usedObject (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

#responsesObject

Returns the value of attribute responses.



24
25
26
# File 'lib/monkeylearn/response.rb', line 24

def responses
  @responses
end