Sha256: fbd255c28d26610799ea5f0fbad2313021385a8a052b842944d254a4142228f3

Contents?: true

Size: 921 Bytes

Versions: 6

Compression:

Stored size: 921 Bytes

Contents

# frozen_string_literal: true

require 'calendly/models/model_utils'

module Calendly
  # Calendly's invitee tracking model.
  # Object that represents UTM and Salesforce tracking parameters associated with the invitee.
  class InviteeTracking
    include ModelUtils

    # @return [String]
    # UTM campaign tracking parameter.
    attr_accessor :utm_campaign

    # @return [String]
    # UTM source tracking parameter.
    attr_accessor :utm_source

    # @return [String]
    # UTM medium tracking parameter.
    attr_accessor :utm_medium

    # @return [String]
    # UTM content tracking parameter.
    attr_accessor :utm_content

    # @return [String]
    # UTM term tracking parameter.
    attr_accessor :utm_term

    # @return [String]
    # Salesforce Record ID.
    attr_accessor :salesforce_uuid

  private

    def inspect_attributes
      super + %i[utm_source utm_medium utm_campaign]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
calendly-0.8.3 lib/calendly/models/invitee_tracking.rb
calendly-0.8.2 lib/calendly/models/invitee_tracking.rb
calendly-0.8.1 lib/calendly/models/invitee_tracking.rb
calendly-0.8.0 lib/calendly/models/invitee_tracking.rb
calendly-0.7.0 lib/calendly/models/invitee_tracking.rb
calendly-0.6.0 lib/calendly/models/invitee_tracking.rb