Sha256: 5a3588141aeb0642327a7f15e1796b7f7dea16605142ae9ef1b4841641b09277
Contents?: true
Size: 780 Bytes
Versions: 14
Compression:
Stored size: 780 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 - 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
14 entries across 14 versions & 2 rubygems