Sha256: 957c47c7e86b349ac0169bdc2b3a572663518a12334cb3730cef2da5bdd1a14c
Contents?: true
Size: 581 Bytes
Versions: 1
Compression:
Stored size: 581 Bytes
Contents
# frozen_string_literal: true module BridgeBankin class Stock < BridgeObject RESOURCE_TYPE = "stock" class << self include API::Resource def list(**params) data = api_client.get("/v2/stocks", params) convert_to_bridge_object(data) end def list_updated(**params) data = api_client.get("/v2/stocks/updated", params) convert_to_bridge_object(data) end def find(id:, **params) data = api_client.get("/v2/stocks/#{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/stock.rb |