Class: Intercom::Contact

Inherits:
Object
  • Object
show all
Includes:
ApiOperations::NestedResource, Traits::ApiResource, Traits::IncrementableAttributes
Defined in:
lib/intercom/contact.rb

Instance Attribute Summary

Attributes included from Traits::ApiResource

#client, #id

Class Method Summary collapse

Instance Method Summary collapse

Methods included from ApiOperations::NestedResource

included

Methods included from Traits::ApiResource

#==, #flat_store_attribute?, #from_hash, #from_response, #initialize, #method_missing, #to_hash, #to_json, #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 Traits::IncrementableAttributes

#decrement, #increment

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Intercom::Traits::ApiResource

Class Method Details

.collection_proxy_classObject



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

def self.collection_proxy_class
  Intercom::BaseCollectionProxy
end

Instance Method Details

#flat_store_attributesObject



27
28
29
# File 'lib/intercom/contact.rb', line 27

def flat_store_attributes
  [:custom_attributes]
end

#identity_varsObject



23
24
25
# File 'lib/intercom/contact.rb', line 23

def identity_vars
  [:id]
end