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_intervalObject

Returns the value of attribute check_interval.



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

def check_interval
  @check_interval
end

#commentObject

Returns the value of attribute comment.



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

def comment
  @comment
end

#expected_responseObject

Returns the value of attribute expected_response.



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

def expected_response
  @expected_response
end

#hostObject

Returns the value of attribute host.



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

def host
  @host
end

#http_versionObject

Returns the value of attribute http_version.



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

def http_version
  @http_version
end

#initialObject

Returns the value of attribute initial.



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

def initial
  @initial
end

#methodObject

Returns the value of attribute method.



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

def method
  @method
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#pathObject

Returns the value of attribute path.



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

def path
  @path
end

#service_idObject

Returns the value of attribute service_id.



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

def service_id
  @service_id
end

#thresholdObject

Returns the value of attribute threshold.



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

def threshold
  @threshold
end

#timeoutObject

Returns the value of attribute timeout.



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

def timeout
  @timeout
end

#windowObject

Returns the value of attribute window.



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

def window
  @window
end