module GrowlCar

Constants

VERSION

Public Class Methods

client() click to toggle source
# File lib/growl_car.rb, line 14
def client
  create_client unless @client.value
  @client.value
end
respond_to?(method) click to toggle source
# File lib/growl_car.rb, line 19
def respond_to?(method)
  return client.respond_to?(method)
end

Private Class Methods

create_client() click to toggle source
# File lib/growl_car.rb, line 30
def create_client
  begin
    @client.try_update { GrowlCar::Client.new(credentials) }
  rescue Atomic::ConcurrentUpdateError

  end
end
method_missing(method_name, *args, &block) click to toggle source
Calls superclass method
# File lib/growl_car.rb, line 25
def method_missing(method_name, *args, &block)
  return super unless client.respond_to?(method_name)
  client.send(method_name, *args, &block)
end