Sha256: 75dc9321c2d5fb19f916592441d9f455270bd9d123808e9523868d8e530cbc6e

Contents?: true

Size: 484 Bytes

Versions: 4

Compression:

Stored size: 484 Bytes

Contents

module Workarea
  module Listrak
    class Configuration
      include ApplicationDocument

      # @!attribute default_list_id
      #   @return [Integer] list id customers are subscribed to
      #
      field :default_list_id, type: String

      # @!attribute external_event_ids
      #   @return [Array<Integer>] event ids to trigger when subscribing a customer
      #
      field :external_event_ids, type: Array

      validates_presence_of :default_list_id
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
workarea-listrak-5.0.4 app/models/workarea/listrak/configuration.rb
workarea-listrak-5.0.3 app/models/workarea/listrak/configuration.rb
workarea-listrak-5.0.2 app/models/workarea/listrak/configuration.rb
workarea-listrak-5.0.1 app/models/workarea/listrak/configuration.rb