Sha256: 44767de4d2d8b0f0a2840c79e84237f5683caf898f9a802bae2db547980ebf2a
Contents?: true
Size: 851 Bytes
Versions: 5
Compression:
Stored size: 851 Bytes
Contents
# frozen_string_literal: true module PapierkramApi module V1 module Endpoints module Banking # This class is responsible for all the API calls related to banking bank connections. class BankConnections < PapierkramApi::V1::Endpoints::Base def by(id:) get("#{@url_api_path}/banking/bank_connections/#{id}") end def all(page: 1, page_size: 100, order_by: nil, order_direction: nil) query = { page: page, page_size: page_size } query[:order_by] = order_by if order_by query[:order_direction] = order_direction if order_direction get("#{@url_api_path}/banking/bank_connections", query) end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems