Class: Fastly::Healthcheck

Inherits:
BelongsToServiceAndVersion show all
Defined in:
lib/fastly/healthcheck.rb

Overview

A way of keeping track of any of your hosts which are down

Instance Attribute Summary collapse

Attributes inherited from BelongsToServiceAndVersion

#version

Attributes inherited from Base

#fetcher

Method Summary

Methods inherited from BelongsToServiceAndVersion

#as_hash, delete_path, get_path, path_escape, post_path, put_path, #service, #version_number

Methods inherited from Base

#as_hash, #delete!, delete_path, get_path, #initialize, list_path, path, post_path, put_path, #require_api_key!, #save!

Constructor Details

This class inherits a constructor from Fastly::Base

Instance Attribute Details

#check_interval ⇒ Object

Returns the value of attribute check_interval.



4
5
6
# File 'lib/fastly/healthcheck.rb', line 4

def check_interval
  @check_interval
end

#comment ⇒ Object

Returns the value of attribute comment.



4
5
6
# File 'lib/fastly/healthcheck.rb', line 4

def comment
  @comment
end

#expected_response ⇒ Object

Returns the value of attribute expected_response.



4
5
6
# File 'lib/fastly/healthcheck.rb', line 4

def expected_response
  @expected_response
end

#host ⇒ Object

Returns the value of attribute host.



4
5
6
# File 'lib/fastly/healthcheck.rb', line 4

def host
  @host
end

#http_version ⇒ Object

Returns the value of attribute http_version.



4
5
6
# File 'lib/fastly/healthcheck.rb', line 4

def http_version
  @http_version
end

#initial ⇒ Object

Returns the value of attribute initial.



4
5
6
# File 'lib/fastly/healthcheck.rb', line 4

def initial
  @initial
end

#method ⇒ Object

Returns the value of attribute method.



4
5
6
# File 'lib/fastly/healthcheck.rb', line 4

def method
  @method
end

#name ⇒ Object

Returns the value of attribute name.



4
5
6
# File 'lib/fastly/healthcheck.rb', line 4

def name
  @name
end

#path ⇒ Object

Returns the value of attribute path.



4
5
6
# File 'lib/fastly/healthcheck.rb', line 4

def path
  @path
end

#service_id ⇒ Object

Returns the value of attribute service_id.



4
5
6
# File 'lib/fastly/healthcheck.rb', line 4

def service_id
  @service_id
end

#threshold ⇒ Object

Returns the value of attribute threshold.



4
5
6
# File 'lib/fastly/healthcheck.rb', line 4

def threshold
  @threshold
end

#timeout ⇒ Object

Returns the value of attribute timeout.



4
5
6
# File 'lib/fastly/healthcheck.rb', line 4

def timeout
  @timeout
end

#window ⇒ Object

Returns the value of attribute window.



4
5
6
# File 'lib/fastly/healthcheck.rb', line 4

def window
  @window
end