Sha256: fb347c1c707f85b4cb3bb1c8b9a9765f8c197c9c0c4e90a4ff716f1c373e9ee5
Contents?: true
Size: 818 Bytes
Versions: 1
Compression:
Stored size: 818 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.1 | lib/constantcontact/components/tracking/unsubscribe_activity.rb |