Sha256: 45ed4f9f598ddb7d0f1ce663c4407a61a6b70a807b68ad495bbdc0646dc349b4
Contents?: true
Size: 367 Bytes
Versions: 11
Compression:
Stored size: 367 Bytes
Contents
require_relative 'resource' module Bunq class UserPerson def initialize(client, id) @resource = Bunq::Resource.new(client, "/v1/user-person/#{id}") end def show @resource.with_session { @resource.get }['Response'] end def update(attributes) @resource.with_session { @resource.put(attributes) }['Response'] end end end
Version data entries
11 entries across 11 versions & 1 rubygems