module FREDAPI

FREDAPI namespace module

Constants

VERSION

Public Class Methods

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

Delegate to FREDAPI::Client.new

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

Alias for FREDAPI::Client.new

@return [FREDAPI::Client]

# File lib/fredapi.rb, line 13
def new opts={}
  FREDAPI::Client.new opts
end
respond_to?(method, include_private=false) click to toggle source

Check if method responds_to?

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