Sha256: 06aee7ecc7bd6a77c37781cdb93cf3326dd556e2984863ad4ee88ccd38c81378

Contents?: true

Size: 466 Bytes

Versions: 14

Compression:

Stored size: 466 Bytes

Contents

module Bunq
  ##
  # https://doc.bunq.com/api/1/call/monetary-account
  class MonetaryAccounts
    def initialize(parent_resource)
      @resource = parent_resource.append("/monetary-account")
    end

    # https://doc.bunq.com/api/1/call/monetary-account-bank/method/list
    def index(count: 200, older_id: nil, newer_id: nil)
      Bunq::Paginated
        .new(@resource)
        .paginate(count: count, older_id: older_id, newer_id: newer_id)
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

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