Class: Fastly::Header
- Inherits:
-
BelongsToServiceAndVersion
- Object
- Base
- BelongsToServiceAndVersion
- Fastly::Header
- Defined in:
- lib/fastly/header.rb
Overview
customize headers. Best used with conditions.
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#cache_condition ⇒ Object
Returns the value of attribute cache_condition.
-
#dst ⇒ Object
Returns the value of attribute dst.
-
#ignore_if_set ⇒ Object
Returns the value of attribute ignore_if_set.
-
#name ⇒ Object
Returns the value of attribute name.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#regexp ⇒ Object
Returns the value of attribute regexp.
-
#request_condition ⇒ Object
Returns the value of attribute request_condition.
-
#response_condition ⇒ Object
Returns the value of attribute response_condition.
-
#service_id ⇒ Object
Returns the value of attribute service_id.
-
#src ⇒ Object
Returns the value of attribute src.
-
#substitution ⇒ Object
Returns the value of attribute substitution.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from BelongsToServiceAndVersion
Attributes inherited from Base
Method Summary
Methods inherited from BelongsToServiceAndVersion
#as_hash, delete_path, get_path, post_path, put_path, #service, #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
#action ⇒ Object
Returns the value of attribute action.
4 5 6 |
# File 'lib/fastly/header.rb', line 4 def action @action end |
#cache_condition ⇒ Object
Returns the value of attribute cache_condition.
4 5 6 |
# File 'lib/fastly/header.rb', line 4 def cache_condition @cache_condition end |
#dst ⇒ Object
Returns the value of attribute dst.
4 5 6 |
# File 'lib/fastly/header.rb', line 4 def dst @dst end |
#ignore_if_set ⇒ Object
Returns the value of attribute ignore_if_set.
4 5 6 |
# File 'lib/fastly/header.rb', line 4 def ignore_if_set @ignore_if_set end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/fastly/header.rb', line 4 def name @name end |
#priority ⇒ Object
Returns the value of attribute priority.
4 5 6 |
# File 'lib/fastly/header.rb', line 4 def priority @priority end |
#regexp ⇒ Object
Returns the value of attribute regexp.
4 5 6 |
# File 'lib/fastly/header.rb', line 4 def regexp @regexp end |
#request_condition ⇒ Object
Returns the value of attribute request_condition.
4 5 6 |
# File 'lib/fastly/header.rb', line 4 def request_condition @request_condition end |
#response_condition ⇒ Object
Returns the value of attribute response_condition.
4 5 6 |
# File 'lib/fastly/header.rb', line 4 def response_condition @response_condition end |
#service_id ⇒ Object
Returns the value of attribute service_id.
4 5 6 |
# File 'lib/fastly/header.rb', line 4 def service_id @service_id end |
#src ⇒ Object
Returns the value of attribute src.
4 5 6 |
# File 'lib/fastly/header.rb', line 4 def src @src end |
#substitution ⇒ Object
Returns the value of attribute substitution.
4 5 6 |
# File 'lib/fastly/header.rb', line 4 def substitution @substitution end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/fastly/header.rb', line 4 def type @type end |