Class: Fathom::AggregationsResource

Inherits:
Resource
  • Object
show all
Defined in:
lib/fathom/resources/aggregations.rb

Instance Attribute Summary

Attributes inherited from Resource

#client

Instance Method Summary collapse

Methods inherited from Resource

#initialize

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