module EmpireAvenue
require ‘empireavenue/error/too_many_requests’ require ‘empireavenue/error/unauthorized’ require ‘empireavenue/error/unprocessable_entity’
require ‘empireavenue/creatable’ require ‘empireavenue/exceptable’
Public Class Methods
client()
click to toggle source
Delegate to a EmpireAvenue::Client
@return [EmpireAvenue::Client]
# File lib/empireavenue.rb, line 15 def client @client = EmpireAvenue::Client.new(options) unless defined?(@client) && @client.hash == options.hash end
respond_to?(method_name, include_private=false)
click to toggle source
Calls superclass method
# File lib/empireavenue.rb, line 20 def respond_to?(method_name, include_private=false); client.respond_to?(method_name, include_private) || super; end
respond_to_missing?(method_name, include_private=false)
click to toggle source
# File lib/empireavenue.rb, line 19 def respond_to_missing?(method_name, include_private=false); client.respond_to?(method_name, include_private); end
Private Class Methods
method_missing(method_name, *args, &block)
click to toggle source
Calls superclass method
# File lib/empireavenue.rb, line 24 def method_missing(method_name, *args, &block) return super unless client.respond_to?(method_name) client.send(method_name, *args, &block) end