Class: BridgeBankin::Insight
- Inherits:
-
BridgeObject
- Object
- BridgeObject
- BridgeBankin::Insight
- Extended by:
- API::Resource
- Defined in:
- lib/bridge_bankin/insight.rb
Overview
Insight resource
Constant Summary
Constants inherited from BridgeObject
BridgeObject::HIDDEN_ATTRIBUTES
Class Method Summary collapse
-
.categories_insights(access_token:, **params) ⇒ Insight
Categories statistics provided by Bridge.
Methods inherited from BridgeObject
#==, convert_to_bridge_object, #initialize, #to_hash, #to_json
Constructor Details
This class inherits a constructor from BridgeBankin::BridgeObject
Class Method Details
.categories_insights(access_token:, **params) ⇒ Insight
Categories statistics provided by Bridge
19 20 21 22 23 24 |
# File 'lib/bridge_bankin/insight.rb', line 19 def categories_insights(access_token:, **params) protected_resource(access_token) do data = api_client.get("/v2/insights/category", **params) convert_to_bridge_object(**data) end end |