Class: Fastly::RequestSetting

Inherits:
BelongsToServiceAndVersion show all
Defined in:
lib/fastly/request_setting.rb

Overview

customize request handing. Best used with conditions

Instance Attribute Summary collapse

Attributes inherited from BelongsToServiceAndVersion

#version

Attributes inherited from Base

#fetcher

Class Method Summary collapse

Methods inherited from BelongsToServiceAndVersion

#as_hash, delete_path, get_path, path_escape, 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

#actionObject

Returns the value of attribute action.



4
5
6
# File 'lib/fastly/request_setting.rb', line 4

def action
  @action
end

#bypass_busy_waitObject

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_hostObject

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_missObject

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_sslObject

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_headersObject

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_keysObject

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_ageObject

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

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/fastly/request_setting.rb', line 4

def name
  @name
end

#request_conditionObject

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_idObject

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_supportObject

Returns the value of attribute time_support.



4
5
6
# File 'lib/fastly/request_setting.rb', line 4

def time_support
  @time_support
end

#xffObject

Returns the value of attribute xff.



4
5
6
# File 'lib/fastly/request_setting.rb', line 4

def xff
  @xff
end

Class Method Details

.pathObject

: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