class WirecardSepa::Config
Usage: WirecardSepa::Config.new
({
api_url: 'https://api-test.wirecard.com/engine/rest/paymentmethods', http_auth_username: 'foo', http_auth_password: 'bar', merchant_account_id: '123', credit_id: '987',
})
> config¶ ↑
Attributes
api_url[R]
creditor_id[R]
http_auth_password[R]
http_auth_username[R]
merchant_account_id[R]
Public Class Methods
new(api_url:, http_auth_username:, http_auth_password:, merchant_account_id:, creditor_id:)
click to toggle source
# File lib/wirecard_sepa/config.rb, line 14 def initialize(api_url:, http_auth_username:, http_auth_password:, merchant_account_id:, creditor_id:) @api_url = api_url @http_auth_username = http_auth_username @http_auth_password = http_auth_password @merchant_account_id = merchant_account_id @creditor_id = creditor_id end