class BunqRb::User

Installation

Attributes

display_name[R]
id[R]

Public Class Methods

new(hsh = {}) click to toggle source
# File lib/bunq_rb/objects/user.rb, line 10
def initialize(hsh = {})
  @id = hsh["id"]
  @display_name = hsh["display_name"]
end
url() click to toggle source
# File lib/bunq_rb/objects/user.rb, line 15
def self.url
  "/v1/user"
end

Public Instance Methods

card_names() click to toggle source
# File lib/bunq_rb/objects/user.rb, line 27
def card_names
  BunqRb::CardName.all(@id)
end
cards() click to toggle source
# File lib/bunq_rb/objects/user.rb, line 23
def cards
  BunqRb::Card.all(@id)
end
monetary_accounts() click to toggle source
# File lib/bunq_rb/objects/user.rb, line 19
def monetary_accounts
  BunqRb::MonetaryAccountBank.all(@id)
end