Sha256: ebe12c1ea87d75fa18ba033f1b7b8170a4bb32c73b1f0923cc8c165710235aff
Contents?: true
Size: 636 Bytes
Versions: 1
Compression:
Stored size: 636 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.0 | lib/constantcontact/components/tracking/send_activity.rb |