Sha256: e2368d6a23578050adb309371374733842aa0864bd439e4b8de8a5586c77e950
Contents?: true
Size: 692 Bytes
Versions: 1
Compression:
Stored size: 692 Bytes
Contents
# # send_activity.rb # ConstantContact # # Copyright (c) 2013 Constant Contact. All rights reserved. module ConstantContact module Components class SendActivity < Component attr_accessor :activity_type, :campaign_id, :email_address, :contact_id, :send_date # Factory method to create a SendActivity object from an array # @param [Hash] props - hash of properties to create object from # @return [SendActivity] def self.create(props) send_activity = SendActivity.new if props props.each do |key, value| send_activity.send("#{key}=", value) end end send_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/send_activity.rb |