Sha256: a80f809c6413666c2f091263026fcd8195418b691ab143a3825b4cf6c152df58
Contents?: true
Size: 1006 Bytes
Versions: 4
Compression:
Stored size: 1006 Bytes
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" 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
4 entries across 4 versions & 1 rubygems