Sha256: 899e95db2838ff98281be6a970b3bd57696b1702ba4cf28705791283344adf5e
Contents?: true
Size: 504 Bytes
Versions: 4
Compression:
Stored size: 504 Bytes
Contents
module Bunq ## # https://doc.bunq.com/api/1/call/monetary-account class MonetaryAccount def initialize(parent_resource, id) @resource = parent_resource.append("/monetary-account/#{id}") end def payment(id) Bunq::Payment.new(@resource, id) end def payments Bunq::Payments.new(@resource) end ## # https://doc.bunq.com/api/1/call/monetary-account/method/get def show @resource.with_session { @resource.get }['Response'] end end end
Version data entries
4 entries across 4 versions & 1 rubygems