class Bunq::Avatar

Public Class Methods

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

Public Instance Methods

show() click to toggle source
# File lib/bunq/avatar.rb, line 11
def show
  @resource.with_session { @resource.get }['Response']
end