Sha256: cf8300e2bbadfe3b871a9fc67c162f522583e7a357f74a7b98acbe465ac442ed

Contents?: true

Size: 1.01 KB

Versions: 7

Compression:

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

7 entries across 7 versions & 1 rubygems

Version Path
fastly-1.2.3 lib/fastly/healthcheck.rb
fastly-1.2.2 lib/fastly/healthcheck.rb
fastly-1.2.1 lib/fastly/healthcheck.rb
fastly-1.2.0 lib/fastly/healthcheck.rb
fastly-1.1.5 lib/fastly/healthcheck.rb
fastly-1.1.4 lib/fastly/healthcheck.rb
fastly-1.1.3 lib/fastly/healthcheck.rb