Class: Getnet::Config
- Inherits:
-
Object
- Object
- Getnet::Config
- Defined in:
- lib/getnet/config.rb
Instance Attribute Summary collapse
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#seller_id ⇒ Object
Returns the value of attribute seller_id.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
8 9 10 |
# File 'lib/getnet/config.rb', line 8 def initialize @environment = :sandbox end |
Instance Attribute Details
#client_id ⇒ Object
Returns the value of attribute client_id.
3 4 5 |
# File 'lib/getnet/config.rb', line 3 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
4 5 6 |
# File 'lib/getnet/config.rb', line 4 def client_secret @client_secret end |
#environment ⇒ Object
Returns the value of attribute environment.
6 7 8 |
# File 'lib/getnet/config.rb', line 6 def environment @environment end |
#seller_id ⇒ Object
Returns the value of attribute seller_id.
5 6 7 |
# File 'lib/getnet/config.rb', line 5 def seller_id @seller_id end |