Sha256: 5ffa00d8f715c114fbcef48d38f704680e83e86dcc4b4f71adff6eeb8c15df07
Contents?: true
Size: 588 Bytes
Versions: 2
Compression:
Stored size: 588 Bytes
Contents
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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yellow-api-wrapper-0.0.2 | lib/yellow-api-wrapper.rb |
yellow-api-wrapper-0.0.1 | lib/yellow_api.rb |