module Echowrap
Public Class Methods
client()
click to toggle source
Delegate to a Echowrap::Client
@return [Echowrap::Client]
# File lib/echowrap.rb, line 61 def client @client = Echowrap::Client.new(options) unless defined?(@client) && @client.hash == options.hash @client end
respond_to?(method_name, include_private=false)
click to toggle source
Calls superclass method
# File lib/echowrap.rb, line 67 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/echowrap.rb, line 66 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/echowrap.rb, line 71 def method_missing(method_name, *args, &block) return super unless client.respond_to?(method_name) client.send(method_name, *args, &block) end