Sha256: 2453e5812c47810b56d26b7250a375536937ce1446f2bb5fbb025b9394176ba7

Contents?: true

Size: 1.04 KB

Versions: 11

Compression:

Stored size: 1.04 KB

Contents

class Fastly
  # A way of keeping track of any of your hosts which are down
  class Healthcheck < BelongsToServiceAndVersion
    attr_accessor :service_id, :name, :comment, :path, :host, :http_version, :timeout, :window, :threshold

    ## 
    # :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 Healthcheck
    # 

    ## 
    # :attr: comment 
    # 
    # A free form comment field
    
    ## 
    # :attr: method
    # 
    # Which HTTP method to use

    ## 
    # :attr: host
    # 
    # Which host to check

    ## 
    # :attr: path
    # 
    # Path to check

    ## 
    # :attr: http_version
    # 
    # 1.0 or 1.1 (defaults to 1.1)

    ## 
    # :attr: timeout
    # 
    # Timeout in seconds

    ## 
    # :attr: window
    # 
    # How large window to keep track for healthchecks

    ## 
    # :attr: threshold
    # 
    # How many have to be ok for it work
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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