Sha256: 8d7d39bba8bfbb814aa169fb23d94d44847918b23cbc01dcd3488353b8326c6a

Contents?: true

Size: 304 Bytes

Versions: 8

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

require 'intercom/traits/api_resource'

module Intercom
  class Lead
    include Traits::ApiResource

    def identity_vars
      %i[email user_id]
    end

    def flat_store_attributes
      [:custom_attributes]
    end

    def update_verb
      'put'
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
intercom-4.2.1 lib/intercom/lead.rb
intercom-4.2.0 lib/intercom/lead.rb
intercom-4.1.3 lib/intercom/lead.rb
intercom-4.1.2 lib/intercom/lead.rb
intercom-4.1.1 lib/intercom/lead.rb
intercom-4.1.0 lib/intercom/lead.rb
intercom-4.0.1 lib/intercom/lead.rb
intercom-4.0.0 lib/intercom/lead.rb