Class: CheckoutSdk::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



4
5
6
7
8
9
# File 'lib/checkout_sdk/configuration.rb', line 4

def initialize
  @secret_key = nil
  @public_key = nil
  @base_url = nil
  @persistent = true
end

Instance Attribute Details

#base_urlObject

Returns the value of attribute base_url.



2
3
4
# File 'lib/checkout_sdk/configuration.rb', line 2

def base_url
  @base_url
end

#persistentObject

Returns the value of attribute persistent.



2
3
4
# File 'lib/checkout_sdk/configuration.rb', line 2

def persistent
  @persistent
end

#public_keyObject

Returns the value of attribute public_key.



2
3
4
# File 'lib/checkout_sdk/configuration.rb', line 2

def public_key
  @public_key
end

#secret_keyObject

Returns the value of attribute secret_key.



2
3
4
# File 'lib/checkout_sdk/configuration.rb', line 2

def secret_key
  @secret_key
end