Class: Barzahlen::Configuration
- Inherits:
-
Object
- Object
- Barzahlen::Configuration
- Defined in:
- lib/barzahlen/configuration.rb
Constant Summary collapse
- API_HOST =
"https://api.viafintech.com/v2"- API_HOST_SANDBOX =
"https://api-sandbox.viafintech.com/v2"
Instance Attribute Summary collapse
-
#division_id ⇒ Object
Returns the value of attribute division_id.
-
#payment_key ⇒ Object
Returns the value of attribute payment_key.
-
#sandbox ⇒ Object
Returns the value of attribute sandbox.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 13 14 |
# File 'lib/barzahlen/configuration.rb', line 10 def initialize @sandbox = false @division_id = "not_valid_division_id" @payment_key = "not_valid_payment_key" end |
Instance Attribute Details
#division_id ⇒ Object
Returns the value of attribute division_id.
7 8 9 |
# File 'lib/barzahlen/configuration.rb', line 7 def division_id @division_id end |
#payment_key ⇒ Object
Returns the value of attribute payment_key.
8 9 10 |
# File 'lib/barzahlen/configuration.rb', line 8 def payment_key @payment_key end |
#sandbox ⇒ Object
Returns the value of attribute sandbox.
6 7 8 |
# File 'lib/barzahlen/configuration.rb', line 6 def sandbox @sandbox end |