Class: GiantClient::MockRequest
- Inherits:
-
Object
- Object
- GiantClient::MockRequest
- Defined in:
- lib/giant_client/mock_request.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#error_type ⇒ Object
Returns the value of attribute error_type.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#host ⇒ Object
Returns the value of attribute host.
-
#path ⇒ Object
Returns the value of attribute path.
-
#port ⇒ Object
Returns the value of attribute port.
-
#query ⇒ Object
Returns the value of attribute query.
-
#querystring ⇒ Object
Returns the value of attribute querystring.
-
#raised_error ⇒ Object
Returns the value of attribute raised_error.
-
#ssl ⇒ Object
Returns the value of attribute ssl.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
3 4 5 |
# File 'lib/giant_client/mock_request.rb', line 3 def body @body end |
#error_type ⇒ Object
Returns the value of attribute error_type.
3 4 5 |
# File 'lib/giant_client/mock_request.rb', line 3 def error_type @error_type end |
#headers ⇒ Object
Returns the value of attribute headers.
3 4 5 |
# File 'lib/giant_client/mock_request.rb', line 3 def headers @headers end |
#host ⇒ Object
Returns the value of attribute host.
3 4 5 |
# File 'lib/giant_client/mock_request.rb', line 3 def host @host end |
#path ⇒ Object
Returns the value of attribute path.
3 4 5 |
# File 'lib/giant_client/mock_request.rb', line 3 def path @path end |
#port ⇒ Object
Returns the value of attribute port.
3 4 5 |
# File 'lib/giant_client/mock_request.rb', line 3 def port @port end |
#query ⇒ Object
Returns the value of attribute query.
3 4 5 |
# File 'lib/giant_client/mock_request.rb', line 3 def query @query end |
#querystring ⇒ Object
Returns the value of attribute querystring.
3 4 5 |
# File 'lib/giant_client/mock_request.rb', line 3 def querystring @querystring end |
#raised_error ⇒ Object
Returns the value of attribute raised_error.
3 4 5 |
# File 'lib/giant_client/mock_request.rb', line 3 def raised_error @raised_error end |
#ssl ⇒ Object
Returns the value of attribute ssl.
3 4 5 |
# File 'lib/giant_client/mock_request.rb', line 3 def ssl @ssl end |
#timeout ⇒ Object
Returns the value of attribute timeout.
3 4 5 |
# File 'lib/giant_client/mock_request.rb', line 3 def timeout @timeout end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/giant_client/mock_request.rb', line 3 def url @url end |
Instance Method Details
#raised_error? ⇒ Boolean
6 7 8 |
# File 'lib/giant_client/mock_request.rb', line 6 def raised_error? @raised_error end |