class Bunq::User

Public Class Methods

new(client, id) click to toggle source
# File lib/bunq/user.rb, line 18
def initialize(client, id)
  @resource = Bunq::Resource.new(client, "/v1/user/#{id}")
end

Public Instance Methods

attachment(id) click to toggle source
# File lib/bunq/user.rb, line 22
def attachment(id)
  Bunq::Attachment.new(@resource, id)
end
card(id) click to toggle source
# File lib/bunq/user.rb, line 54
def card(id)
  Bunq::Card.new(@resource, id)
end
cards() click to toggle source
# File lib/bunq/user.rb, line 58
def cards
  Bunq::Cards.new(@resource)
end
certificate_pinned() click to toggle source
# File lib/bunq/user.rb, line 50
def certificate_pinned
  Bunq::CertificatePinned.new(@resource)
end
draft_share_invite_bank(id) click to toggle source
# File lib/bunq/user.rb, line 42
def draft_share_invite_bank(id)
  Bunq::DraftShareInviteBank.new(@resource, id)
end
draft_share_invite_banks() click to toggle source
# File lib/bunq/user.rb, line 46
def draft_share_invite_banks
  Bunq::DraftShareInviteBanks.new(@resource)
end
monetary_account(id) click to toggle source
# File lib/bunq/user.rb, line 26
def monetary_account(id)
  Bunq::MonetaryAccount.new(@resource, id)
end
monetary_account_bank(id) click to toggle source
# File lib/bunq/user.rb, line 34
def monetary_account_bank(id)
  Bunq::MonetaryAccountBank.new(@resource, id)
end
monetary_account_banks() click to toggle source
# File lib/bunq/user.rb, line 38
def monetary_account_banks
  Bunq::MonetaryAccountBanks.new(@resource)
end
monetary_accounts() click to toggle source
# File lib/bunq/user.rb, line 30
def monetary_accounts
  Bunq::MonetaryAccounts.new(@resource)
end
notification_filter_url() click to toggle source
# File lib/bunq/user.rb, line 62
def notification_filter_url
  Bunq::NotificationFilterUrl.new(@resource)
end
show() click to toggle source
# File lib/bunq/user.rb, line 66
def show
  @resource.with_session { @resource.get }['Response']
end