Sha256: dc21c54d2e9fd12c616ea0545d31a29ad5c1d7a498ebb1ede91239a60bc24a71
Contents?: true
Size: 738 Bytes
Versions: 1
Compression:
Stored size: 738 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) obj = UnsubscribeActivity.new if props props.each do |key, value| obj.send("#{key}=", value) if obj.respond_to? key end end obj end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
constantcontact-1.0.2 | lib/constantcontact/components/tracking/unsubscribe_activity.rb |