Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6b9c006b9a
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (21 sloc) 0.589 kb
require 'yellow_api/client'
require 'yellow_api/config'
module YellowApi
extend Config
class << self
# Alias for YellowApi::Client.new
#
# @return [YellowApi::Client]
def new(options={})
YellowApi::Client.new(options)
end
# Delegate to YellowApi::Client
def method_missing(method, *args, &block)
return super unless new.respond_to?(method)
new.send(method, *args, &block)
end
def respond_to?(method, include_private=false)
new.respond_to?(method, include_private) || super(method, include_private)
end
end
end
Jump to Line
Something went wrong with that request. Please try again.