Class: Response
- Inherits:
-
Object
- Object
- Response
- Defined in:
- lib/response.rb
Instance Method Summary collapse
- #body ⇒ Object
-
#initialize(arg) ⇒ Response
constructor
A new instance of Response.
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
#body ⇒ Object
7 8 9 |
# File 'lib/response.rb', line 7 def body @json end |