Sha256: b644e053bc0d6fb0a2ca22e4e194234d1ca7bced402319a8a9f8e2310f9a70e5
Contents?: true
Size: 401 Bytes
Versions: 1
Compression:
Stored size: 401 Bytes
Contents
require_relative 'postmates/client' module Postmates class << self def new @client ||= Postmates::Client.new end 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 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
postmates-0.1.0 | lib/postmates.rb |