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-3.0.2 lib/fastly/match.rb
fastly-3.0.1 lib/fastly/match.rb
fastly-3.0.0 lib/fastly/match.rb
fastly-2.5.3 lib/fastly/match.rb
fastly-2.5.2 lib/fastly/match.rb
fastly-2.5.1 lib/fastly/match.rb
fastly-2.5.0 lib/fastly/match.rb
fastly-2.4.0 lib/fastly/match.rb
fastly-2.3.1 lib/fastly/match.rb
fastly-2.3.0 lib/fastly/match.rb
fastly-2.2.0 lib/fastly/match.rb
fastly-2.1.0 lib/fastly/match.rb
fastly-2.0.0 lib/fastly/match.rb
fastly-1.15.0 lib/fastly/match.rb
fastly-1.14.0 lib/fastly/match.rb
fastly-1.13.2 lib/fastly/match.rb
fastly-1.13.1 lib/fastly/match.rb
fastly-1.13.0 lib/fastly/match.rb
fastly-1.12.0 lib/fastly/match.rb
fastly-1.11.0 lib/fastly/match.rb