Class: Pingdom::Check

Inherits:
Base
  • Object
show all
Defined in:
lib/pingdom/check.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#additional_field

Class Method Summary collapse

Methods inherited from Base

#add, all, body, client, collection, collection_type, error?, find, #get, #initialize, limited, params, params=, parse, permit, status, total, update_client

Constructor Details

This class inherits a constructor from Pingdom::Base

Instance Attribute Details

#acktimeoutObject

Returns the value of attribute acktimeout.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def acktimeout
  @acktimeout
end

#alert_policyObject

Returns the value of attribute alert_policy.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def alert_policy
  @alert_policy
end

#alert_policy_nameObject

Returns the value of attribute alert_policy_name.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def alert_policy_name
  @alert_policy_name
end

#autoresolveObject

Returns the value of attribute autoresolve.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def autoresolve
  @autoresolve
end

#contactidsObject

Returns the value of attribute contactids.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def contactids
  @contactids
end

#createdObject

Returns the value of attribute created.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def created
  @created
end

#hostnameObject

Returns the value of attribute hostname.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def hostname
  @hostname
end

#idObject

Returns the value of attribute id.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def id
  @id
end

#integrationidsObject

Returns the value of attribute integrationids.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def integrationids
  @integrationids
end

#ipv6Object

Returns the value of attribute ipv6.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def ipv6
  @ipv6
end

#lasterrortimeObject

Returns the value of attribute lasterrortime.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def lasterrortime
  @lasterrortime
end

#lastresponsetimeObject

Returns the value of attribute lastresponsetime.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def lastresponsetime
  @lastresponsetime
end

#lasttesttimeObject

Returns the value of attribute lasttesttime.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def lasttesttime
  @lasttesttime
end

#nameObject

Returns the value of attribute name.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def name
  @name
end

#notifyagaineveryObject

Returns the value of attribute notifyagainevery.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def notifyagainevery
  @notifyagainevery
end

#notifywhenbackupObject

Returns the value of attribute notifywhenbackup.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def notifywhenbackup
  @notifywhenbackup
end

#probe_filtersObject

Returns the value of attribute probe_filters.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def probe_filters
  @probe_filters
end

#resolutionObject

Returns the value of attribute resolution.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def resolution
  @resolution
end

#sendnotificationwhendownObject

Returns the value of attribute sendnotificationwhendown.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def sendnotificationwhendown
  @sendnotificationwhendown
end

#sendtoandroidObject

Returns the value of attribute sendtoandroid.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def sendtoandroid
  @sendtoandroid
end

#sendtoemailObject

Returns the value of attribute sendtoemail.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def sendtoemail
  @sendtoemail
end

#sendtoiphoneObject

Returns the value of attribute sendtoiphone.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def sendtoiphone
  @sendtoiphone
end

#sendtosmsObject

Returns the value of attribute sendtosms.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def sendtosms
  @sendtosms
end

#sendtotwitterObject

Returns the value of attribute sendtotwitter.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def sendtotwitter
  @sendtotwitter
end

#statusObject

Returns the value of attribute status.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def status
  @status
end

#tagsObject

Returns the value of attribute tags.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def tags
  @tags
end

#typeObject

Returns the value of attribute type.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def type
  @type
end

#use_legacy_notificationsObject

Returns the value of attribute use_legacy_notifications.



13
14
15
# File 'lib/pingdom/check.rb', line 13

def use_legacy_notifications
  @use_legacy_notifications
end

Class Method Details

.pathObject



7
8
9
# File 'lib/pingdom/check.rb', line 7

def path
  '/checks'
end