module PlaidRails
Constants
- VERSION
Attributes
client_id[RW]
env[RW]
environment_location[RW]
longtail[RW]
public_key[RW]
secret[RW]
webhook[RW]
Public Class Methods
all(callable = Proc.new)
click to toggle source
# File lib/plaid_rails.rb, line 30 def all(callable = Proc.new) PlaidRails::Event.all(callable) end
configure() { |self| ... }
click to toggle source
# File lib/plaid_rails.rb, line 17 def configure(&block) raise ArgumentError, "must provide a block" unless block_given? block.arity.zero? ? instance_eval(&block) : yield(self) end
instrument(name, object)
click to toggle source
# File lib/plaid_rails.rb, line 26 def instrument(name, object) PlaidRails::Event.backend.instrument( PlaidRails::Event.namespace.call(name), object) end
subscribe(name, callable = Proc.new)
click to toggle source
# File lib/plaid_rails.rb, line 22 def subscribe(name, callable = Proc.new) PlaidRails::Event.subscribe(name, callable) end