Class: Fastly::RequestSetting
- Inherits:
-
BelongsToServiceAndVersion
- Object
- Base
- BelongsToServiceAndVersion
- Fastly::RequestSetting
- Defined in:
- lib/fastly/request_setting.rb
Overview
customize request handing. Best used with conditions
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#bypass_busy_wait ⇒ Object
Returns the value of attribute bypass_busy_wait.
-
#default_host ⇒ Object
Returns the value of attribute default_host.
-
#force_miss ⇒ Object
Returns the value of attribute force_miss.
-
#force_ssl ⇒ Object
Returns the value of attribute force_ssl.
-
#geo_headers ⇒ Object
Returns the value of attribute geo_headers.
-
#hash_keys ⇒ Object
Returns the value of attribute hash_keys.
-
#max_stale_age ⇒ Object
Returns the value of attribute max_stale_age.
-
#name ⇒ Object
Returns the value of attribute name.
-
#request_condition ⇒ Object
Returns the value of attribute request_condition.
-
#service_id ⇒ Object
Returns the value of attribute service_id.
-
#time_support ⇒ Object
Returns the value of attribute time_support.
-
#xff ⇒ Object
Returns the value of attribute xff.
Attributes inherited from BelongsToServiceAndVersion
Attributes inherited from Base
Class Method Summary collapse
-
.path ⇒ Object
:attr: request_condition.
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, 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/request_setting.rb', line 4 def action @action end |
#bypass_busy_wait ⇒ Object
Returns the value of attribute bypass_busy_wait.
4 5 6 |
# File 'lib/fastly/request_setting.rb', line 4 def bypass_busy_wait @bypass_busy_wait end |
#default_host ⇒ Object
Returns the value of attribute default_host.
4 5 6 |
# File 'lib/fastly/request_setting.rb', line 4 def default_host @default_host end |
#force_miss ⇒ Object
Returns the value of attribute force_miss.
4 5 6 |
# File 'lib/fastly/request_setting.rb', line 4 def force_miss @force_miss end |
#force_ssl ⇒ Object
Returns the value of attribute force_ssl.
4 5 6 |
# File 'lib/fastly/request_setting.rb', line 4 def force_ssl @force_ssl end |
#geo_headers ⇒ Object
Returns the value of attribute geo_headers.
4 5 6 |
# File 'lib/fastly/request_setting.rb', line 4 def geo_headers @geo_headers end |
#hash_keys ⇒ Object
Returns the value of attribute hash_keys.
4 5 6 |
# File 'lib/fastly/request_setting.rb', line 4 def hash_keys @hash_keys end |
#max_stale_age ⇒ Object
Returns the value of attribute max_stale_age.
4 5 6 |
# File 'lib/fastly/request_setting.rb', line 4 def max_stale_age @max_stale_age end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/fastly/request_setting.rb', line 4 def name @name end |
#request_condition ⇒ Object
Returns the value of attribute request_condition.
4 5 6 |
# File 'lib/fastly/request_setting.rb', line 4 def request_condition @request_condition end |
#service_id ⇒ Object
Returns the value of attribute service_id.
4 5 6 |
# File 'lib/fastly/request_setting.rb', line 4 def service_id @service_id end |
#time_support ⇒ Object
Returns the value of attribute time_support.
4 5 6 |
# File 'lib/fastly/request_setting.rb', line 4 def time_support @time_support end |
#xff ⇒ Object
Returns the value of attribute xff.
4 5 6 |
# File 'lib/fastly/request_setting.rb', line 4 def xff @xff end |
Class Method Details
.path ⇒ Object
:attr: request_condition
Name of condition object used to test whether or not these settings should be used
85 86 87 |
# File 'lib/fastly/request_setting.rb', line 85 def self.path Util.class_to_path(self, true) end |