Sha256: 3850c89e85dbb43e7399f3f0d69c9e192a2695c4403fefe8d5f93b2cd139c7f5
Contents?: true
Size: 434 Bytes
Versions: 1
Compression:
Stored size: 434 Bytes
Contents
# frozen_string_literal: true module BridgeBankin class Bank < BridgeObject RESOURCE_TYPE = "bank" class << self include API::Resource def list(**params) data = api_client.get("/v2/banks", params) convert_to_bridge_object(data) end def find(id:, **params) data = api_client.get("/v2/banks/#{id}", params) convert_to_bridge_object(data) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bridge_bankin-0.1.0 | lib/bridge_bankin/bank.rb |