Sha256: b65f7b4cc159a1c5c3e355d21e15447a5997edd31d0477404d74caea1341d1c2
Contents?: true
Size: 752 Bytes
Versions: 1
Compression:
Stored size: 752 Bytes
Contents
# # unsubscribe_activity.rb # ConstantContact # # Copyright (c) 2013 Constant Contact. All rights reserved. module ConstantContact module Components class UnsubscribeActivity < Component attr_accessor :activity_type, :campaign_id, :contact_id, :email_address, :unsubscribe_date, :unsubscribe_source, :unsubscribe_reason # Factory method to create an UnsubscribeActivity object from an array # @param [Hash] props - hash of properties to create object from # @return [UnsubscribeActivity] def self.create(props) unsubscribe_activity = UnsubscribeActivity.new if props props.each do |key, value| unsubscribe_activity.send("#{key}=", value) end end unsubscribe_activity end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
constantcontact-1.0.0 | lib/constantcontact/components/tracking/unsubscribe_activity.rb |