Sha256: 3f221b515552f760b7449e39ef62eac9d0569fe4f90218273924b4597a4f2d81

Contents?: true

Size: 720 Bytes

Versions: 3

Compression:

Stored size: 720 Bytes

Contents

module Mollie
  class Method < Base
    BANCONTACT    = "bancontact"
    BANKTRANSFER  = "banktransfer"
    BELFIUS       = "belfius"
    BITCOIN       = "bitcoin"
    CREDITCARD    = "creditcard"
    DIRECTDEBIT   = "directdebit"
    EPS           = "eps"
    GIFTCARD      = "giftcard"
    GIROPAY       = "giropay"
    IDEAL         = "ideal"
    INGHOMEPAY    = "inghomepay"
    KBC           = "kbc"
    PAYPAL        = "paypal"
    PAYSAFECARD   = "paysafecard"
    SOFORT        = "sofort"

    attr_accessor :id,
                  :description,
                  :image,
                  :issuers

    def normal_image
      image['size1x']
    end

    def bigger_image
      image['size2x']
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mollie-api-ruby-4.0.0.pre.alpha.2 lib/mollie/method.rb
mollie-api-ruby-4.0.0 lib/mollie/method.rb
mollie-api-ruby-4.0.0.pre.alpha.1 lib/mollie/method.rb