module Croudia

Constants

VERSION

Public Class Methods

client() click to toggle source

Delegate to a Croudia::Client

@return [Croudia::Client]

# File lib/croudia.rb, line 12
def client
  if !@client || @client.hash != options.hash
    @client = Croudia::Client.new
  end
  @client
end
respond_to?(*args) click to toggle source
Calls superclass method
# File lib/croudia.rb, line 19
def respond_to?(*args)
  super || client.respond_to?(*args)
end

Private Class Methods

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