Class: GrowlCar::Client
- Inherits:
-
Object
- Object
- GrowlCar::Client
- Includes:
- GrowlNotification, Request
- Defined in:
- lib/growl_car/client.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ GrowlCar::Client
constructor
Initialize a new GrowlCar::Client.
Methods included from GrowlNotification
Constructor Details
#initialize(options = {}) ⇒ GrowlCar::Client
Initialize a new GrowlCar::Client
14 15 16 17 18 19 20 21 22 |
# File 'lib/growl_car/client.rb', line 14 def initialize(={}) GrowlCar::Configuration.keys.each do |key| instance_variable_set(:"@#{key}", [key]) end super() set_auth(@username, @password) end |