Class: Response

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

Instance Method Summary collapse

Constructor Details

#initialize(arg) ⇒ Response

Returns a new instance of Response.



3
4
5
# File 'lib/response.rb', line 3

def initialize(arg)
  @json = arg
end

Instance Method Details

#bodyObject



7
8
9
# File 'lib/response.rb', line 7

def body
  @json
end