class Bunq::MonetaryAccount

doc.bunq.com/api/1/call/monetary-account

Public Class Methods

new(parent_resource, id) click to toggle source
# File lib/bunq/monetary_account.rb, line 12
def initialize(parent_resource, id)
  @resource = parent_resource.append("/monetary-account/#{id}")
end

Public Instance Methods

attachments() click to toggle source
# File lib/bunq/monetary_account.rb, line 16
def attachments
  Bunq::Attachments.new(@resource)
end
bunqme_tab(id) click to toggle source
# File lib/bunq/monetary_account.rb, line 20
def bunqme_tab(id)
  Bunq::BunqmeTab.new(@resource, id)
end
bunqme_tabs() click to toggle source
# File lib/bunq/monetary_account.rb, line 24
def bunqme_tabs
  Bunq::BunqmeTabs.new(@resource)
end
notification_filter_url() click to toggle source
# File lib/bunq/monetary_account.rb, line 42
def notification_filter_url
  Bunq::NotificationFilterUrl.new(@resource)
end
payment(id) click to toggle source
# File lib/bunq/monetary_account.rb, line 28
def payment(id)
  Bunq::Payment.new(@resource, id)
end
payments() click to toggle source
# File lib/bunq/monetary_account.rb, line 32
def payments
  Bunq::Payments.new(@resource)
end
show() click to toggle source

doc.bunq.com/api/1/call/monetary-account/method/get

# File lib/bunq/monetary_account.rb, line 38
def show
  @resource.with_session { @resource.get }['Response']
end