module Postmates

Public Class Methods

method_missing(method, *args, &block) click to toggle source
Calls superclass method
# File lib/postmates.rb, line 10
def method_missing(method, *args, &block)
  return super unless new.respond_to?(method)
  new.send(method, *args, &block)
end
new() click to toggle source
# File lib/postmates.rb, line 6
def new
  @client ||= Postmates::Client.new
end
respond_to?(method, include_private = false) click to toggle source
Calls superclass method
# File lib/postmates.rb, line 15
def respond_to?(method, include_private = false)
  new.respond_to?(method, include_private) || super
end