Sha256: 72500d93c36a7ae519c87a634370f9ab071ee01fd1e44ddf14f533be86b8c01b

Contents?: true

Size: 1.26 KB

Versions: 39

Compression:

Stored size: 1.26 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

39 entries across 39 versions & 1 rubygems

Version Path
fastly-1.10.0 lib/fastly/match.rb
fastly-1.9.0 lib/fastly/match.rb
fastly-1.8.0 lib/fastly/match.rb
fastly-1.7.0 lib/fastly/match.rb
fastly-1.6.1 lib/fastly/match.rb
fastly-1.6.0 lib/fastly/match.rb
fastly-1.5.0 lib/fastly/match.rb
fastly-1.4.3 lib/fastly/match.rb
fastly-1.4.2 lib/fastly/match.rb
fastly-1.4.1 lib/fastly/match.rb
fastly-1.4.0 lib/fastly/match.rb
fastly-1.3.0 lib/fastly/match.rb
fastly-1.2.3 lib/fastly/match.rb
fastly-1.2.2 lib/fastly/match.rb
fastly-1.2.1 lib/fastly/match.rb
fastly-1.2.0 lib/fastly/match.rb
fastly-1.1.5 lib/fastly/match.rb
fastly-1.1.4 lib/fastly/match.rb
fastly-1.1.3 lib/fastly/match.rb