Sha256: 87a69eb59daf144a711ec52fbe311f82ca93e359bb16b891a48503cd7c234452
Contents?: true
Size: 887 Bytes
Versions: 2
Compression:
Stored size: 887 Bytes
Contents
# frozen_string_literal: true require 'intercom/traits/incrementable_attributes' require 'intercom/traits/api_resource' require 'intercom/api_operations/nested_resource' module Intercom class Contact include Traits::IncrementableAttributes include Traits::ApiResource include ApiOperations::NestedResource nested_resource_methods :tag, operations: %i[add delete list] nested_resource_methods :note, operations: %i[create list] nested_resource_methods :subscription_type, path: 'subscriptions', operations: %i[create delete list] nested_resource_methods :company, operations: %i[add delete list] nested_resource_methods :segment, operations: %i[list] def self.collection_proxy_class Intercom::BaseCollectionProxy end def identity_vars [:id] end def flat_store_attributes [:custom_attributes] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
intercom-4.2.1 | lib/intercom/contact.rb |
intercom-4.2.0 | lib/intercom/contact.rb |