Class: Intercom::Contact

Inherits:
Object
  • Object
show all
Includes:
ApiOperations::Convert, ApiOperations::Find, ApiOperations::FindAll, ApiOperations::Load, ApiOperations::Save, Traits::ApiResource
Defined in:
lib/intercom/contact.rb

Instance Attribute Summary

Attributes included from Traits::ApiResource

#id

Instance Method Summary collapse

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::Convert

#convert

Methods included from ApiOperations::Save

#identity_hash, included, #save

Methods included from ApiOperations::FindAll

included

Methods included from ApiOperations::Find

included

Methods included from ApiOperations::Load

#load

Dynamic Method Handling

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

Instance Method Details

#flat_store_attributesObject



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

def flat_store_attributes ; [:custom_attributes] ; end

#identity_varsObject



18
# File 'lib/intercom/contact.rb', line 18

def identity_vars ; [:email, :user_id] ; end

#update_verbObject



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

def update_verb; 'put' ; end