Class: PaygatePk::Config::ProviderConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/paygate_pk/config.rb

Overview

Provider-specific configuration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeProviderConfig

Returns a new instance of ProviderConfig.



34
35
36
37
38
39
40
41
42
43
# File 'lib/paygate_pk/config.rb', line 34

def initialize
  @base_url = nil
  @merchant_id = nil
  @secured_key = nil
  @checkout_mode = :immediate
  @username = nil
  @password = nil
  @store_id = nil
  @api_base_url = nil
end

Instance Attribute Details

#api_base_urlObject

Returns the value of attribute api_base_url.



31
32
33
# File 'lib/paygate_pk/config.rb', line 31

def api_base_url
  @api_base_url
end

#base_urlObject

Returns the value of attribute base_url.



31
32
33
# File 'lib/paygate_pk/config.rb', line 31

def base_url
  @base_url
end

#checkout_modeObject

Returns the value of attribute checkout_mode.



31
32
33
# File 'lib/paygate_pk/config.rb', line 31

def checkout_mode
  @checkout_mode
end

#merchant_idObject

Returns the value of attribute merchant_id.



31
32
33
# File 'lib/paygate_pk/config.rb', line 31

def merchant_id
  @merchant_id
end

#passwordObject

Returns the value of attribute password.



31
32
33
# File 'lib/paygate_pk/config.rb', line 31

def password
  @password
end

#secured_keyObject

Returns the value of attribute secured_key.



31
32
33
# File 'lib/paygate_pk/config.rb', line 31

def secured_key
  @secured_key
end

#store_idObject

Returns the value of attribute store_id.



31
32
33
# File 'lib/paygate_pk/config.rb', line 31

def store_id
  @store_id
end

#usernameObject

Returns the value of attribute username.



31
32
33
# File 'lib/paygate_pk/config.rb', line 31

def username
  @username
end