Class: Intercom::Service::Collection

Inherits:
BaseService show all
Includes:
ApiOperations::Delete, ApiOperations::Find, ApiOperations::List, ApiOperations::Save
Defined in:
lib/intercom/service/collection.rb

Instance Attribute Summary

Attributes inherited from BaseService

#client

Instance Method Summary collapse

Methods included from ApiOperations::Save

#create, #identity_hash, #save

Methods included from ApiOperations::Delete

#delete

Methods included from ApiOperations::Find

#find

Methods included from ApiOperations::List

#all

Methods inherited from BaseService

#collection_proxy_class, #from_api, #initialize

Constructor Details

This class inherits a constructor from Intercom::Service::BaseService

Instance Method Details

#collection_classObject



15
16
17
# File 'lib/intercom/service/collection.rb', line 15

def collection_class
  Intercom::Collection
end

#collection_nameObject



19
20
21
# File 'lib/intercom/service/collection.rb', line 19

def collection_name
  "help_center/collections"
end