Sha256: 378619e5166350e1d5f0de44000b34d75a833044b3bf8a6ec13c2c7a0cd92e6a

Contents?: true

Size: 929 Bytes

Versions: 3

Compression:

Stored size: 929 Bytes

Contents

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

    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.1.5 lib/mollie/method.rb
mollie-api-ruby-4.1.4 lib/mollie/method.rb
mollie-api-ruby-4.1.3 lib/mollie/method.rb