Class: CardConnect::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/cardconnect/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_passwordObject

Returns the value of attribute api_password.



6
7
8
# File 'lib/cardconnect/configuration.rb', line 6

def api_password
  @api_password
end

#api_usernameObject

Returns the value of attribute api_username.



5
6
7
# File 'lib/cardconnect/configuration.rb', line 5

def api_username
  @api_username
end

#connection_optionsObject

Returns the value of attribute connection_options.



8
9
10
# File 'lib/cardconnect/configuration.rb', line 8

def connection_options
  @connection_options
end

#endpointObject

Returns the value of attribute endpoint.



7
8
9
# File 'lib/cardconnect/configuration.rb', line 7

def endpoint
  @endpoint
end

#merchant_idObject

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