Class: Plaid::Configuration
- Inherits:
-
Object
- Object
- Plaid::Configuration
- Defined in:
- lib/zen-plaid/configuration.rb
Instance Attribute Summary collapse
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#secret ⇒ Object
Returns the value of attribute secret.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
17 18 19 20 21 22 |
# File 'lib/zen-plaid/configuration.rb', line 17 def initialize @environment ||= 'development' @client_id ||= 'test_id' @secret ||= 'test_secret' @logger ||= Logger.new(STDOUT) end |
Instance Attribute Details
#client_id ⇒ Object
Returns the value of attribute client_id.
15 16 17 |
# File 'lib/zen-plaid/configuration.rb', line 15 def client_id @client_id end |
#environment ⇒ Object
Returns the value of attribute environment.
15 16 17 |
# File 'lib/zen-plaid/configuration.rb', line 15 def environment @environment end |
#logger ⇒ Object
Returns the value of attribute logger.
15 16 17 |
# File 'lib/zen-plaid/configuration.rb', line 15 def logger @logger end |
#secret ⇒ Object
Returns the value of attribute secret.
15 16 17 |
# File 'lib/zen-plaid/configuration.rb', line 15 def secret @secret end |