Method: WatchList::Client#initialize

Defined in:
lib/watch_list/client.rb

#initialize(options = {}) ⇒ Client

Returns a new instance of Client.



15
16
17
18
19
# File 'lib/watch_list/client.rb', line 15

def initialize(options = {})
  @options = options
  @uptimerobot = UptimeRobot::Client.new(:apiKey => options[:apiKey])
  @driver = WatchList::Driver.new(@uptimerobot, options)
end