module Breacan

Constants

VERSION

Public Class Methods

client() click to toggle source
# File lib/breacan.rb, line 8
def client
  unless defined?(@client) && @client.same_options?(options)
    @client = Breacan::Client.new(options)
  end
  @client
end

Private Class Methods

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