Method: MerbMerchant::Billing::WirecardGateway#initialize

Defined in:
lib/merb_merchant/billing/gateways/wirecard.rb

#initialize(options = {}) ⇒ WirecardGateway

Returns a new instance of WirecardGateway.



47
48
49
50
51
52
53
54
# File 'lib/merb_merchant/billing/gateways/wirecard.rb', line 47

def initialize(options = {})
  # verify that username and password are supplied
  requires!(options, :login, :password)
  # unfortunately Wirecard also requires a BusinessCaseSignature in the XML request
  requires!(options, :signature)
  @options = options
  super
end