Class: Paygate::Configuration
- Inherits:
-
Object
- Object
- Paygate::Configuration
- Defined in:
- lib/paygate/configuration.rb
Constant Summary collapse
- MODES =
%i[live sandbox].freeze
Instance Attribute Summary collapse
-
#mode ⇒ Object
Returns the value of attribute mode.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 |
# File 'lib/paygate/configuration.rb', line 9 def initialize @mode = :live end |
Instance Attribute Details
#mode ⇒ Object
Returns the value of attribute mode.
7 8 9 |
# File 'lib/paygate/configuration.rb', line 7 def mode @mode end |