module AMarmita::ClassMethods
Public Instance Methods
method_missing(method, *args, &block)
click to toggle source
Calls superclass method
# File lib/a_marmita.rb, line 49 def method_missing(method, *args, &block) return super unless singleton.respond_to?(method) singleton.send(method, *args) end
new_client()
click to toggle source
# File lib/a_marmita.rb, line 41 def new_client Client.new end
singleton()
click to toggle source
# File lib/a_marmita.rb, line 45 def singleton @singleton ||= Client.new end