module Plaider
Constants
- VERSION
Public Class Methods
client()
click to toggle source
# File lib/plaider.rb, line 16 def client @client ||= Plaider::Client.new(options) end
scope(access_token = nil)
click to toggle source
# File lib/plaider.rb, line 9 def scope(access_token = nil) if !defined?(@client) || @client.access_token != access_token @client = Plaider::Client.new(options.merge({access_token: access_token})) end @client end
Private Class Methods
method_missing(method_name, *args, &block)
click to toggle source
Calls superclass method
# File lib/plaider.rb, line 22 def method_missing(method_name, *args, &block) return super unless client.respond_to?(method_name) client.send(method_name, *args, &block) end