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