Class: Workarea::Api::DocumentationTest::Request
- Inherits:
-
Object
- Object
- Workarea::Api::DocumentationTest::Request
- Defined in:
- lib/workarea/api/documentation_test.rb
Instance Attribute Summary collapse
-
#curl ⇒ Object
Returns the value of attribute curl.
-
#request_body ⇒ Object
Returns the value of attribute request_body.
-
#request_content_type ⇒ Object
Returns the value of attribute request_content_type.
-
#request_headers ⇒ Object
Returns the value of attribute request_headers.
-
#request_method ⇒ Object
Returns the value of attribute request_method.
-
#request_path ⇒ Object
Returns the value of attribute request_path.
-
#request_query_parameters ⇒ Object
Returns the value of attribute request_query_parameters.
-
#response_body ⇒ Object
Returns the value of attribute response_body.
-
#response_content_type ⇒ Object
Returns the value of attribute response_content_type.
-
#response_headers ⇒ Object
Returns the value of attribute response_headers.
-
#response_status ⇒ Object
Returns the value of attribute response_status.
-
#response_status_text ⇒ Object
Returns the value of attribute response_status_text.
Instance Method Summary collapse
-
#initialize ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize ⇒ Request
Returns a new instance of Request.
44 45 46 47 48 |
# File 'lib/workarea/api/documentation_test.rb', line 44 def initialize @request_headers = {} @request_query_parameters = {} @response_headers = {} end |
Instance Attribute Details
#curl ⇒ Object
Returns the value of attribute curl.
38 39 40 |
# File 'lib/workarea/api/documentation_test.rb', line 38 def curl @curl end |
#request_body ⇒ Object
Returns the value of attribute request_body.
38 39 40 |
# File 'lib/workarea/api/documentation_test.rb', line 38 def request_body @request_body end |
#request_content_type ⇒ Object
Returns the value of attribute request_content_type.
38 39 40 |
# File 'lib/workarea/api/documentation_test.rb', line 38 def request_content_type @request_content_type end |
#request_headers ⇒ Object
Returns the value of attribute request_headers.
38 39 40 |
# File 'lib/workarea/api/documentation_test.rb', line 38 def request_headers @request_headers end |
#request_method ⇒ Object
Returns the value of attribute request_method.
38 39 40 |
# File 'lib/workarea/api/documentation_test.rb', line 38 def request_method @request_method end |
#request_path ⇒ Object
Returns the value of attribute request_path.
38 39 40 |
# File 'lib/workarea/api/documentation_test.rb', line 38 def request_path @request_path end |
#request_query_parameters ⇒ Object
Returns the value of attribute request_query_parameters.
38 39 40 |
# File 'lib/workarea/api/documentation_test.rb', line 38 def request_query_parameters @request_query_parameters end |
#response_body ⇒ Object
Returns the value of attribute response_body.
38 39 40 |
# File 'lib/workarea/api/documentation_test.rb', line 38 def response_body @response_body end |
#response_content_type ⇒ Object
Returns the value of attribute response_content_type.
38 39 40 |
# File 'lib/workarea/api/documentation_test.rb', line 38 def response_content_type @response_content_type end |
#response_headers ⇒ Object
Returns the value of attribute response_headers.
38 39 40 |
# File 'lib/workarea/api/documentation_test.rb', line 38 def response_headers @response_headers end |
#response_status ⇒ Object
Returns the value of attribute response_status.
38 39 40 |
# File 'lib/workarea/api/documentation_test.rb', line 38 def response_status @response_status end |
#response_status_text ⇒ Object
Returns the value of attribute response_status_text.
38 39 40 |
# File 'lib/workarea/api/documentation_test.rb', line 38 def response_status_text @response_status_text end |