Class: Restool::OperationRequest
- Inherits:
-
Object
- Object
- Restool::OperationRequest
- Defined in:
- lib/restool/service/operation_request.rb
Instance Attribute Summary collapse
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#http_request ⇒ Object
Returns the value of attribute http_request.
-
#method ⇒ Object
Returns the value of attribute method.
-
#params ⇒ Object
Returns the value of attribute params.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(http_request, method, path, params, headers) ⇒ OperationRequest
constructor
A new instance of OperationRequest.
Constructor Details
#initialize(http_request, method, path, params, headers) ⇒ OperationRequest
Returns a new instance of OperationRequest.
6 7 8 9 10 11 12 |
# File 'lib/restool/service/operation_request.rb', line 6 def initialize(http_request, method, path, params, headers) @http_request = http_request @method = method @path = path @params = params @headers = headers end |
Instance Attribute Details
#headers ⇒ Object
Returns the value of attribute headers.
4 5 6 |
# File 'lib/restool/service/operation_request.rb', line 4 def headers @headers end |
#http_request ⇒ Object
Returns the value of attribute http_request.
4 5 6 |
# File 'lib/restool/service/operation_request.rb', line 4 def http_request @http_request end |
#method ⇒ Object
Returns the value of attribute method.
4 5 6 |
# File 'lib/restool/service/operation_request.rb', line 4 def method @method end |
#params ⇒ Object
Returns the value of attribute params.
4 5 6 |
# File 'lib/restool/service/operation_request.rb', line 4 def params @params end |
#path ⇒ Object
Returns the value of attribute path.
4 5 6 |
# File 'lib/restool/service/operation_request.rb', line 4 def path @path end |