Class: Fathom::AggregationsResource
- Defined in:
- lib/fathom/resources/aggregations.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
-
#list(entity_id:, entity_type:, aggregates:, **params) ⇒ Object
TODO: Ensure this works properly.
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Fathom::Resource
Instance Method Details
#list(entity_id:, entity_type:, aggregates:, **params) ⇒ Object
TODO: Ensure this works properly
4 5 6 7 |
# File 'lib/fathom/resources/aggregations.rb', line 4 def list(entity_id:, entity_type:, aggregates:, **params) get_request("aggregations", params: params.merge(entity_id: entity_id, entity_type: entity_type, aggregates: aggregates)) end |