Class: Intercom::Service::Counts
Instance Attribute Summary
Attributes inherited from BaseService
#client
Instance Method Summary
collapse
#find
Methods inherited from BaseService
#from_api, #initialize
Instance Method Details
#collection_class ⇒ Object
9
10
11
|
# File 'lib/intercom/service/count.rb', line 9
def collection_class
Intercom::Count
end
|
#for_app ⇒ Object
13
14
15
|
# File 'lib/intercom/service/count.rb', line 13
def for_app
find({})
end
|
#for_type(type:, count: nil) ⇒ Object
17
18
19
|
# File 'lib/intercom/service/count.rb', line 17
def for_type(type:, count: nil)
find(type: type, count: count)
end
|