Sha256: cbaafeab289ecc97f4f10cb36bab44d1b6b087d7592cf5ac75ff3414a5ac26cd

Contents?: true

Size: 383 Bytes

Versions: 14

Compression:

Stored size: 383 Bytes

Contents

require_relative 'qr_code_content'

module Bunq
  class DraftShareInviteBanks
    def initialize(parent_resource)
      @resource = parent_resource.append("/draft-share-invite-bank")
    end

    def create(invite)
      @resource.with_session { @resource.post(invite) }['Response']
    end

    def index
      @resource.with_session { @resource.get }['Response']
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
bunq-client-0.7.2 lib/bunq/draft_share_invite_banks.rb
bunq-client-0.7.1 lib/bunq/draft_share_invite_banks.rb
bunq-client-0.7.0 lib/bunq/draft_share_invite_banks.rb
bunq-client-0.6.1 lib/bunq/draft_share_invite_banks.rb
bunq-client-0.6.0 lib/bunq/draft_share_invite_banks.rb
bunq-client-0.5.0 lib/bunq/draft_share_invite_banks.rb
bunq-client-0.4.2 lib/bunq/draft_share_invite_banks.rb
bunq-client-0.4.1 lib/bunq/draft_share_invite_banks.rb
bunq-client-0.4.0 lib/bunq/draft_share_invite_banks.rb
bunq-client-0.3.0 lib/bunq/draft_share_invite_banks.rb
bunq-client-0.2.0 lib/bunq/draft_share_invite_banks.rb
bunq-client-0.1.2 lib/bunq/draft_share_invite_banks.rb
bunq-client-0.1.1 lib/bunq/draft_share_invite_banks.rb
bunq-client-0.1.0 lib/bunq/draft_share_invite_banks.rb