Sha256: fb9ac025a07d527f57ecfe97a4407c5c7f4d385a8efc9236c3d9797638df06d8
Contents?: true
Size: 416 Bytes
Versions: 14
Compression:
Stored size: 416 Bytes
Contents
require_relative 'resource' require_relative 'draft_share_invite_bank' module Bunq class UserCompany def initialize(client, id) @resource = Bunq::Resource.new(client, "/v1/user-company/#{id}") end def show @resource.with_session { @resource.get }['Response'] end def update(user_company) @resource.with_session { @resource.put(user_company) }['Response'] end end end
Version data entries
14 entries across 14 versions & 1 rubygems