Class: UptrendsExtended::Checkpoint

Inherits:
Base
  • Object
show all
Defined in:
lib/uptrends_extended/checkpoint.rb

Instance Attribute Summary

Attributes inherited from Base

#attributes

Instance Method Summary collapse

Methods inherited from Base

check_error!, #create!, #delete!, parse, #statistics, #to_s, #update!, #uptime_last_12_months, #uptime_this_year

Constructor Details

#initialize(client, response, attributes = {}) ⇒ Checkpoint

Returns a new instance of Checkpoint.



6
7
8
9
# File 'lib/uptrends_extended/checkpoint.rb', line 6

def initialize(client, response, attributes = {})
  @attributes = attributes
  gen_and_set_accessors
end