Class: CardConnect::Configuration
- Inherits:
-
Object
- Object
- CardConnect::Configuration
- Defined in:
- lib/cardconnect/configuration.rb
Instance Attribute Summary collapse
-
#api_password ⇒ Object
Returns the value of attribute api_password.
-
#api_username ⇒ Object
Returns the value of attribute api_username.
-
#connection_options ⇒ Object
Returns the value of attribute connection_options.
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#merchant_id ⇒ Object
Attributes that need to be passed in from the user.
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 |
# File 'lib/cardconnect/configuration.rb', line 10 def initialize @connection_options = {} end |
Instance Attribute Details
#api_password ⇒ Object
Returns the value of attribute api_password.
6 7 8 |
# File 'lib/cardconnect/configuration.rb', line 6 def api_password @api_password end |
#api_username ⇒ Object
Returns the value of attribute api_username.
5 6 7 |
# File 'lib/cardconnect/configuration.rb', line 5 def api_username @api_username end |
#connection_options ⇒ Object
Returns the value of attribute connection_options.
8 9 10 |
# File 'lib/cardconnect/configuration.rb', line 8 def @connection_options end |
#endpoint ⇒ Object
Returns the value of attribute endpoint.
7 8 9 |
# File 'lib/cardconnect/configuration.rb', line 7 def endpoint @endpoint end |
#merchant_id ⇒ Object
Attributes that need to be passed in from the user
4 5 6 |
# File 'lib/cardconnect/configuration.rb', line 4 def merchant_id @merchant_id end |