Class: Grackle::Response
- Inherits:
-
Object
- Object
- Grackle::Response
- Defined in:
- lib/grackle/transport.rb
Overview
:nodoc:
Instance Attribute Summary (collapse)
-
- (Object) body
Returns the value of attribute body.
-
- (Object) method
Returns the value of attribute method.
-
- (Object) request_uri
Returns the value of attribute request_uri.
-
- (Object) status
Returns the value of attribute status.
Instance Method Summary (collapse)
-
- (Response) initialize(method, request_uri, status, body)
constructor
A new instance of Response.
Constructor Details
- (Response) initialize(method, request_uri, status, body)
A new instance of Response
6 7 8 9 10 11 |
# File 'lib/grackle/transport.rb', line 6 def initialize(method,request_uri,status,body) self.method = method self.request_uri = request_uri self.status = status self.body = body end |
Instance Attribute Details
- (Object) body
Returns the value of attribute body
4 5 6 |
# File 'lib/grackle/transport.rb', line 4 def body @body end |
- (Object) method
Returns the value of attribute method
4 5 6 |
# File 'lib/grackle/transport.rb', line 4 def method @method end |
- (Object) request_uri
Returns the value of attribute request_uri
4 5 6 |
# File 'lib/grackle/transport.rb', line 4 def request_uri @request_uri end |
- (Object) status
Returns the value of attribute status
4 5 6 |
# File 'lib/grackle/transport.rb', line 4 def status @status end |