module Ohmage
Public Class Methods
client(options = {})
click to toggle source
@return [Ohmage::Client]
# File lib/ohmage.rb, line 18 def self.client(options = {}) Ohmage::Client.new(options) end
method_missing(method, *args, &block)
click to toggle source
Delegate to Ohmage::Client
Calls superclass method
# File lib/ohmage.rb, line 23 def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end
respond_to?(method)
click to toggle source
Delegate to Ohmage::Client
Calls superclass method
# File lib/ohmage.rb, line 29 def self.respond_to?(method) client.respond_to?(method) || super end