Module: Plaid
- Defined in:
- lib/plaid.rb,
lib/plaid/client/body.rb,
lib/plaid/client/client.rb,
lib/plaid/client/entity.rb,
lib/plaid/client/balance.rb,
lib/plaid/client/connect.rb,
lib/plaid/client/followup.rb,
lib/plaid/text/exposition.rb,
lib/plaid/scaffold/category.rb,
lib/plaid/scaffold/scaffold.rb,
lib/plaid/client/thin_client.rb,
lib/plaid/client/configuration.rb,
lib/plaid/scaffold/institution.rb
Defined Under Namespace
Modules: Client, Scaffold, Text
Class Method Summary collapse
-
.client(user, email, password, institution, access_token = nil) ⇒ Object
client for initializing access through Plaid.
- .configure(&block) ⇒ Object
-
.scaffold ⇒ Object
scaffolding are general purpose tools for dealing with Plaid.
-
.thin_client(e_mail, institution, access_token) ⇒ Object
a special thin client for accessing Plaid without credentials securely.
Class Method Details
.client(user, email, password, institution, access_token = nil) ⇒ Object
client for initializing access through Plaid
9 10 11 |
# File 'lib/plaid.rb', line 9 def client(user, email, password, institution, access_token=nil) Plaid::Client::Base.new(user, email, password, institution, access_token) end |
.configure(&block) ⇒ Object
3 4 5 6 |
# File 'lib/plaid.rb', line 3 def configure(&block) Plaid::Client::Base.configure(&block) Plaid::Client::ThinClient.configure(&block) end |
.scaffold ⇒ Object
scaffolding are general purpose tools for dealing with Plaid
19 20 21 |
# File 'lib/plaid.rb', line 19 def scaffold Plaid::Scaffold::Base end |
.thin_client(e_mail, institution, access_token) ⇒ Object
a special thin client for accessing Plaid without credentials securely
14 15 16 |
# File 'lib/plaid.rb', line 14 def thin_client(e_mail, institution, access_token) Plaid::Client::ThinClient.new(e_mail, institution, access_token) end |