class GrowlCar::Client
Public Class Methods
new(options={})
click to toggle source
Initialize a new GrowlCar::Client
@param options [Hash] @return [GrowlCar::Client]
Calls superclass method
GrowlCar::Request::new
# File lib/growl_car/client.rb, line 14 def initialize(options={}) GrowlCar::Configuration.keys.each do |key| instance_variable_set(:"@#{key}", options[key]) end super() set_auth(@username, @password) end