Class: Fastly::ResponseObject
- Inherits:
-
BelongsToServiceAndVersion
- Object
- Base
- BelongsToServiceAndVersion
- Fastly::ResponseObject
- Defined in:
- lib/fastly/response_object.rb
Overview
Set up a response object. Best used with conditions.
Instance Attribute Summary collapse
-
#cache_condition ⇒ Object
Returns the value of attribute cache_condition.
-
#content ⇒ Object
Returns the value of attribute content.
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#name ⇒ Object
Returns the value of attribute name.
-
#request_condition ⇒ Object
Returns the value of attribute request_condition.
-
#response ⇒ Object
Returns the value of attribute response.
-
#service_id ⇒ Object
Returns the value of attribute service_id.
-
#status ⇒ Object
Returns the value of attribute status.
Attributes inherited from Base
Method Summary
Methods inherited from BelongsToServiceAndVersion
#as_hash, #service, #version, #version=, #version_number
Methods inherited from Base
#as_hash, #delete!, delete_path, get_path, #initialize, list_path, path, post_path, put_path, #require_api_key!, #save!
Constructor Details
This class inherits a constructor from Fastly::Base
Instance Attribute Details
#cache_condition ⇒ Object
Returns the value of attribute cache_condition.
4 5 6 |
# File 'lib/fastly/response_object.rb', line 4 def cache_condition @cache_condition end |
#content ⇒ Object
Returns the value of attribute content.
4 5 6 |
# File 'lib/fastly/response_object.rb', line 4 def content @content end |
#content_type ⇒ Object
Returns the value of attribute content_type.
4 5 6 |
# File 'lib/fastly/response_object.rb', line 4 def content_type @content_type end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/fastly/response_object.rb', line 4 def name @name end |
#request_condition ⇒ Object
Returns the value of attribute request_condition.
4 5 6 |
# File 'lib/fastly/response_object.rb', line 4 def request_condition @request_condition end |
#response ⇒ Object
Returns the value of attribute response.
4 5 6 |
# File 'lib/fastly/response_object.rb', line 4 def response @response end |
#service_id ⇒ Object
Returns the value of attribute service_id.
4 5 6 |
# File 'lib/fastly/response_object.rb', line 4 def service_id @service_id end |
#status ⇒ Object
Returns the value of attribute status.
4 5 6 |
# File 'lib/fastly/response_object.rb', line 4 def status @status end |