Sha256: 82eb0cbbe65cd55feba97e6bd756aa197f484a4cc68de412ae1b7c53a2139585
Contents?: true
Size: 765 Bytes
Versions: 16
Compression:
Stored size: 765 Bytes
Contents
# # export_contacts.rb # ConstantContact # # Copyright (c) 2013 Constant Contact. All rights reserved. module ConstantContact module Components class ExportContacts < Component attr_accessor :file_type, :sort_by, :export_date_added, :export_added_by, :lists, :column_names # Constructor to create an ExportContacts object # @param [Array] lists - array of lists ids # @return [ExportContacts] def initialize(lists = nil) if !lists.nil? @lists = lists end @file_type = 'CSV' @sort_by = 'EMAIL_ADDRESS' @export_date_added = true @export_added_by = true @column_names = ['Email Address', 'First Name', 'Last Name'] end end end end
Version data entries
16 entries across 16 versions & 2 rubygems