Sha256: 59ae5444f8866390124065bba148017728727f40b20ad84d7cec5a4da187223c

Contents?: true

Size: 1.3 KB

Versions: 12

Compression:

Stored size: 1.3 KB

Contents

class Fastly
  # An object that allows matching on requests and dispatching to different methods
  class Match < BelongsToServiceAndVersion
    attr_accessor :service_id, :name, :comment, :pattern, :priority, :on_recv, :on_lookup, :on_fetch, :on_deliver, :on_miss, :on_hit

    ## 
    # :attr: service_id
    # 
    # The id of the service this belongs to.
    # 

    ## 
    # :attr: version
    # 
    # The number of the version this belongs to.
    # 

    ## 
    # :attr: name
    # 
    # The name of this match.
    # 

    ## 
    # :attr: pattern
    # 
    # The matching pattern.
    # 

    ## 
    # :attr: on_recv
    # 
    # What VCL action to execute before we lookup the object.
    # 

    ## 
    # :attr: on_lookup
    # 
    # What VCL action to execute during a lookup.
    # 

    ## 
    # :attr: on_fetch 
    # 
    # What to execute after we have the header.
    # 

    ## 
    # :attr: on_miss
    # 
    # What to execute on a cache miss
    # 

    ## 
    # :attr: on_hit
    # 
    # What to execute on a cache hit.
    # 

    ## 
    # :attr: on_deliver
    # 
    # What to execute just before delivering the object.
    # 

    ## 
    # :attr: priority
    # 
    # The ordering of the match object
    # 

    ## 
    # :attr: comment 
    # 
    # a free form comment field
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fastly-1.1.2 lib/fastly/match.rb
fastly-1.1.1 lib/fastly/match.rb
fastly-1.1.0 lib/fastly/match.rb
fastly-1.01 lib/fastly/match.rb
fastly-1.00 lib/fastly/match.rb
fastly-0.99 lib/fastly/match.rb
fastly-0.98 lib/fastly/match.rb
fastly-0.97 lib/fastly/match.rb
fastly-0.96 lib/fastly/match.rb
fastly-0.95 lib/fastly/match.rb
fastly-0.9 lib/fastly/match.rb
fastly-0.5 lib/fastly/match.rb