Class: Fastly::Header

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

Overview

customize headers. Best used with conditions.

Instance Attribute Summary collapse

Attributes inherited from BelongsToServiceAndVersion

#version

Attributes inherited from Base

#fetcher

Method Summary

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, 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/header.rb', line 4

def action
  @action
end

#cache_conditionObject

Returns the value of attribute cache_condition.



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

def cache_condition
  @cache_condition
end

#dstObject

Returns the value of attribute dst.



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

def dst
  @dst
end

#ignore_if_setObject

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

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#priorityObject

Returns the value of attribute priority.



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

def priority
  @priority
end

#regexObject

Returns the value of attribute regex.



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

def regex
  @regex
end

#request_conditionObject

Returns the value of attribute request_condition.



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

def request_condition
  @request_condition
end

#response_conditionObject

Returns the value of attribute response_condition.



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

def response_condition
  @response_condition
end

#service_idObject

Returns the value of attribute service_id.



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

def service_id
  @service_id
end

#srcObject

Returns the value of attribute src.



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

def src
  @src
end

#substitutionObject

Returns the value of attribute substitution.



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

def substitution
  @substitution
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end