Sha256: 803f0b448a339bccc6e1c6074ed7aa0db49ea2053d541675b89e520ed0df8b08

Contents?: true

Size: 940 Bytes

Versions: 4

Compression:

Stored size: 940 Bytes

Contents

class Fastly
    # An endpoint to stream syslogs to 
    class Condition < BelongsToServiceAndVersion
        attr_accessor :service_id, :name, :priority, :statement, :type

        ## 
        # :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 the condition

        ## 
        # :attr: statement
        #
        # The statement of the condition, should be a varnish if statement line

        ## 
        # :attr: priority
        #
        # What order to run them in, higher priority gets executed after lower priority

        ## 
        # :attr: type
        #
        # request, cache or response
        #
        # request has req. object only
        # cache has req. and beresp.
        # response has req. and resp.
    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fastly-1.1.2 lib/fastly/condition.rb
fastly-1.1.1 lib/fastly/condition.rb
fastly-1.1.0 lib/fastly/condition.rb
fastly-1.01 lib/fastly/condition.rb