class BunqRb::Avatar

Avatar

Attributes

uuid[R]

Public Class Methods

create(hash = {}) click to toggle source
# File lib/bunq_rb/objects/avatar.rb, line 18
def self.create(hash = {})
  response = Client.send_method(:post, url, hash)
  new(response[0]["Uuid"])
end
new(hsh = {}) click to toggle source
# File lib/bunq_rb/objects/avatar.rb, line 10
def initialize(hsh = {})
  @uuid = hsh["uuid"]
end
url() click to toggle source
# File lib/bunq_rb/objects/avatar.rb, line 14
def self.url
  "/v1/avatar"
end