Class: NetNoop::Request
- Inherits:
-
Object
- Object
- NetNoop::Request
- Defined in:
- lib/netnoop/request.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#method ⇒ Object
readonly
Returns the value of attribute method.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(uri, method, body, http_response = nil) ⇒ Request
constructor
A new instance of Request.
Constructor Details
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
5 6 7 |
# File 'lib/netnoop/request.rb', line 5 def body @body end |
#method ⇒ Object (readonly)
Returns the value of attribute method.
4 5 6 |
# File 'lib/netnoop/request.rb', line 4 def method @method end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
6 7 8 |
# File 'lib/netnoop/request.rb', line 6 def response @response end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
3 4 5 |
# File 'lib/netnoop/request.rb', line 3 def uri @uri end |