module Totter

Totter, as in teeter-totter, let's you work with the Seesaw API in Ruby.

Constants

ERROR_MAP

Status code to exception map

VERSION

Verion of the Totter gem

Public Class Methods

method_missing(method, *args, &block) click to toggle source

Delegate to Totter::Client.new

Calls superclass method
# File lib/totter.rb, line 16
def method_missing(method, *args, &block)
  return super unless new.respond_to?(method)
  new.send(method, *args, &block)
end
new(options = {}) click to toggle source

Alias for Totter::Client.new

@return [Totter::Client]

# File lib/totter.rb, line 11
def new(options = {})
  Client.new(options)
end
respond_to?(method, include_private = false) click to toggle source

Forward respond_to? to Totter::Client.new

Calls superclass method
# File lib/totter.rb, line 22
def respond_to?(method, include_private = false)
  new.respond_to?(method, include_private) || super(method, include_private)
end