Sha256: 07f6e55518946b49945239478227b8bd38a86c05b4678365260a3a4358414091
Contents?: true
Size: 436 Bytes
Versions: 3
Compression:
Stored size: 436 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 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bunq-client-0.1.2 | lib/bunq/monetary_account.rb |
bunq-client-0.1.1 | lib/bunq/monetary_account.rb |
bunq-client-0.1.0 | lib/bunq/monetary_account.rb |