Sha256: bc866da987a95438f35f98aa4da2e705244d0dd2f982b72898fa9e383b83e13b

Contents?: true

Size: 403 Bytes

Versions: 8

Compression:

Stored size: 403 Bytes

Contents

# frozen_string_literal: true

require 'intercom/traits/incrementable_attributes'
require 'intercom/traits/api_resource'

module Intercom
  class User
    include Traits::IncrementableAttributes
    include Traits::ApiResource

    def identity_vars
      %i[id email user_id]
    end

    def flat_store_attributes
      [:custom_attributes]
    end

    def update_verb
      'post'
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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