Class: Fastly::Healthcheck
- Inherits:
-
BelongsToServiceAndVersion
- Object
- Base
- BelongsToServiceAndVersion
- Fastly::Healthcheck
- Defined in:
- lib/fastly/healthcheck.rb
Overview
A way of keeping track of any of your hosts which are down
Instance Attribute Summary collapse
-
#comment ⇒ Object
Returns the value of attribute comment.
-
#host ⇒ Object
Returns the value of attribute host.
-
#http_version ⇒ Object
Returns the value of attribute http_version.
-
#name ⇒ Object
Returns the value of attribute name.
-
#path ⇒ Object
Returns the value of attribute path.
-
#service_id ⇒ Object
Returns the value of attribute service_id.
-
#threshold ⇒ Object
Returns the value of attribute threshold.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
-
#window ⇒ Object
Returns the value of attribute window.
Attributes inherited from BelongsToServiceAndVersion
Attributes inherited from Base
Method Summary
Methods inherited from BelongsToServiceAndVersion
#as_hash, delete_path, get_path, 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
#comment ⇒ Object
Returns the value of attribute comment.
4 5 6 |
# File 'lib/fastly/healthcheck.rb', line 4 def comment @comment 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 |
#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 |