Class: Intercom::Count
- Inherits:
-
Object
- Object
- Intercom::Count
- Includes:
- ApiOperations::Find, GenericHandlers::Count, Traits::ApiResource, Traits::GenericHandlerBinding
- Defined in:
- lib/intercom/count.rb
Instance Attribute Summary
Attributes included from Traits::ApiResource
Class Method Summary collapse
Methods included from GenericHandlers::Count
count_breakdown_matcher, handles_method?, included
Methods included from Traits::GenericHandlerBinding
Methods included from Traits::ApiResource
#flat_store_attribute?, #from_hash, #from_response, #initialize, #method_missing, #to_hash, #to_submittable_hash
Methods included from Traits::DirtyTracking
#field_changed?, #instance_variables_excluding_dirty_tracking_field, #mark_field_as_changed!, #mark_fields_as_changed!, #reset_changed_fields!
Methods included from ApiOperations::Find
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Intercom::Traits::ApiResource
Class Method Details
.fetch_broken_down_count(entity_to_count, count_context) ⇒ Object
17 18 19 |
# File 'lib/intercom/count.rb', line 17 def self.fetch_broken_down_count(entity_to_count, count_context) Intercom::Count.find(:type => entity_to_count, :count => count_context) end |
.fetch_for_app ⇒ Object
13 14 15 |
# File 'lib/intercom/count.rb', line 13 def self.fetch_for_app Intercom::Count.find({}) end |