module Twoctwop::Config

Twoctwop::Config.configure do |config|

config.merchant_id = '111'
config.secret_key  = '12345678'
config.private_key = 'private key goes here'
config.certificate = 'certifiate goes here'
config.passphrase  = 'if private key has passphrase'

end

Attributes

certificate[RW]
endpoint[RW]
merchant_id[RW]
passphrase[RW]
private_key[RW]
secret_key[RW]

Public Instance Methods

configure() { |self| ... } click to toggle source
# File lib/twoctwop/config.rb, line 22
def configure
  yield self  
end