lib/fastly/header.rb in fastly-1.2.1 vs lib/fastly/header.rb in fastly-1.2.2
- old
+ new
@@ -1,9 +1,9 @@
class Fastly
# customize headers. Best used with conditions.
class Header < BelongsToServiceAndVersion
- attr_accessor :service_id, :name, :action, :cache_condition, :request_condition, :response_condition, :ignore_if_set, :type, :dst, :src, :substitution, :priority, :regexp
+ attr_accessor :service_id, :name, :action, :cache_condition, :request_condition, :response_condition, :ignore_if_set, :type, :dst, :src, :substitution, :priority, :regex
##
# :attr: service_id
#
# The id of the service this belongs to.
@@ -52,10 +52,10 @@
#
# Variable to be used as a source for the header content. Does not apply
# to the 'delete' action.
##
- # :attr: regexp
+ # :attr: regex
#
# Regular expression to use with the 'regex' and 'regex_repeat' actions.
##
# :attr: substitution