Sha256: d4d475ecc83a828e639d8b26af8da35a4e349ce37634347375b4864f7984b7a1
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
module Mollie module API module Object class Method < Base IDEAL = "ideal" CREDITCARD = "creditcard" MISTERCASH = "mistercash" SOFORT = "sofort" BANKTRANSFER = "banktransfer" DIRECTDEBIT = "directdebit" BITCOIN = "bitcoin" PAYPAL = "paypal" KBC = "kbc" BELFIUS = "belfius" PAYSAFECARD = "paysafecard" PODIUMCADEAUKAART = "podiumcadeaukaart" GIFTCARD = "giftcard" attr_accessor :id, :description, :amount, :image def normal_image image['normal'] end def bigger_image image['bigger'] end def minimum_amount BigDecimal.new(amount['minimum'].to_s) end def maximum_amount BigDecimal.new(amount['maximum'].to_s) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mollie-api-ruby-2.2.1 | lib/mollie/api/object/method.rb |