Class: Kloxo::API::Response

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

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ Response

Returns a new instance of Response.



5
6
7
8
# File 'lib/kloxo/api/response.rb', line 5

def initialize response
  @response = response

end

Instance Method Details

#bodyObject



10
11
12
# File 'lib/kloxo/api/response.rb', line 10

def body
  @response.body
end