Module: Plaid
- Defined in:
- lib/plaid.rb,
lib/DinnerLab_Plaid/client/configuration.rb
Overview
this is for initiating the plaid object as a module
Defined Under Namespace
Modules: Configurations
Class Attribute Summary collapse
-
.access_token ⇒ Object
Returns the value of attribute access_token.
-
.email ⇒ Object
Returns the value of attribute email.
-
.endpoint ⇒ Object
Returns the value of attribute endpoint.
-
.institution ⇒ Object
Returns the value of attribute institution.
-
.is_mfa_initialized ⇒ Object
Returns the value of attribute is_mfa_initialized.
-
.mfa_message ⇒ Object
Returns the value of attribute mfa_message.
-
.mfa_response ⇒ Object
Returns the value of attribute mfa_response.
-
.mfa_type ⇒ Object
Returns the value of attribute mfa_type.
-
.password ⇒ Object
Returns the value of attribute password.
-
.secret ⇒ Object
Returns the value of attribute secret.
-
.username ⇒ Object
Returns the value of attribute username.
Class Method Summary collapse
-
.client(username, email, password, institution, access_token = nil) ⇒ Object
client used to initialize access through Plaid.
Class Attribute Details
.access_token ⇒ Object
Returns the value of attribute access_token.
6 7 8 |
# File 'lib/plaid.rb', line 6 def access_token @access_token end |
.email ⇒ Object
Returns the value of attribute email.
6 7 8 |
# File 'lib/plaid.rb', line 6 def email @email end |
.endpoint ⇒ Object
Returns the value of attribute endpoint.
6 7 8 |
# File 'lib/plaid.rb', line 6 def endpoint @endpoint end |
.institution ⇒ Object
Returns the value of attribute institution.
6 7 8 |
# File 'lib/plaid.rb', line 6 def institution @institution end |
.is_mfa_initialized ⇒ Object
Returns the value of attribute is_mfa_initialized.
6 7 8 |
# File 'lib/plaid.rb', line 6 def is_mfa_initialized @is_mfa_initialized end |
.mfa_message ⇒ Object
Returns the value of attribute mfa_message.
6 7 8 |
# File 'lib/plaid.rb', line 6 def @mfa_message end |
.mfa_response ⇒ Object
Returns the value of attribute mfa_response.
6 7 8 |
# File 'lib/plaid.rb', line 6 def mfa_response @mfa_response end |
.mfa_type ⇒ Object
Returns the value of attribute mfa_type.
6 7 8 |
# File 'lib/plaid.rb', line 6 def mfa_type @mfa_type end |
.password ⇒ Object
Returns the value of attribute password.
6 7 8 |
# File 'lib/plaid.rb', line 6 def password @password end |
.secret ⇒ Object
Returns the value of attribute secret.
6 7 8 |
# File 'lib/plaid.rb', line 6 def secret @secret end |
.username ⇒ Object
Returns the value of attribute username.
6 7 8 |
# File 'lib/plaid.rb', line 6 def username @username end |
Class Method Details
.client(username, email, password, institution, access_token = nil) ⇒ Object
client used to initialize access through Plaid
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/plaid.rb', line 9 def client(username, email, password, institution, access_token = nil) self.username = username self.email = email self.password = password self.institution = institution self.access_token = access_token unless access_token.blank? self.mfa_response ||= [] puts "Plaid client was made!" end |