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