lib/docdata/order/payment_method.rb in docdata-order-2.1.0 vs lib/docdata/order/payment_method.rb in docdata-order-2.2.0
- old
+ new
@@ -2,19 +2,19 @@
module Docdata
module Order
# Payment method in Docdata, optionally with issuers.
class PaymentMethod
- IDEAL = "IDEAL"
- VISA = "VISA"
- MASTER_CARD = "MASTERCARD"
- MAESTRO = "MAESTRO"
- AMERICAN_EXPRESS = "AMEX"
- PAYPAL = "PAYPAL_EXPRESS_CHECKOUT"
- SEPA_DIRECT_DEBIT = "SEPA_DIRECT_DEBIT"
- BANCONTACT = "MISTERCASH"
- SOFORT = "EBANKING"
- GIROPAY = "GIROPAY"
+ IDEAL = 'IDEAL'
+ VISA = 'VISA'
+ MASTER_CARD = 'MASTERCARD'
+ MAESTRO = 'MAESTRO'
+ AMERICAN_EXPRESS = 'AMEX'
+ PAYPAL = 'PAYPAL_EXPRESS_CHECKOUT'
+ SEPA_DIRECT_DEBIT = 'SEPA_DIRECT_DEBIT'
+ BANCONTACT = 'MISTERCASH'
+ SOFORT = 'EBANKING'
+ GIROPAY = 'GIROPAY'
attr_accessor :payment_method, :issuers
def initialize(payment_method)
@payment_method = payment_method