--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: Realex us the leading CC gateway in Ireland see http://www.realexpayments.com Contributed by John Ward (john@ward.name) see http://thinedgeofthewedge.blogspot.com
- !ruby/struct:SM::Flow::P 
  body: Realex works using the following login - The unique id of the merchant password - The secret is used to digitally sign the request account - This is an optional third part of the authentication process and is used if the merchant wishes do distuinguish cc traffic from the different sources by using a different account. This must be created in advance
- !ruby/struct:SM::Flow::P 
  body: the Realex team decided to make the orderid unique per request, so if validation fails you can not correct and resend using the same order id
constants: 
- !ruby/object:RI::Constant 
  comment: 
  name: URL
  value: "'https://epage.payandshop.com/epage-remote.cgi'"
- !ruby/object:RI::Constant 
  comment: 
  name: CARD_MAPPING
  value: "{         'master'            => 'MC',         'visa'              => 'VISA',         'american_express'  => 'AMEX',         'diners_club'       => 'DINERS',         'switch'            => 'SWITCH',         'solo'              => 'SWITCH',         'laser'             => 'LASER'"
- !ruby/object:RI::Constant 
  comment: 
  name: DECLINED
  value: "\"Successful\", \"Declined\""
- !ruby/object:RI::Constant 
  comment: 
  name: BANK_ERROR
  value: REALEX_ERROR  = "Gateway is in maintenance. Please try again later."
- !ruby/object:RI::Constant 
  comment: 
  name: ERROR
  value: CLIENT_DEACTIVATED = "Gateway Error"
full_name: ActiveMerchant::Billing::RealexGateway
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: purchase
name: RealexGateway
superclass: Gateway
