Sha256: fb5c8ab80596d6c1219536c8e02380a26f1b6389166abfd7ae39514b378230a0
Contents?: true
Size: 651 Bytes
Versions: 1
Compression:
Stored size: 651 Bytes
Contents
# # forward_activity.rb # ConstantContact # # Copyright (c) 2013 Constant Contact. All rights reserved. module ConstantContact module Components class ForwardActivity < Component attr_accessor :activity_type, :campaign_id, :contact_id, :email_address, :forward_date # Factory method to create a ForwardActivity object from an array # @param [Hash] props - hash of properties to create object from # @return [ForwardActivity] def self.create(props) obj = ForwardActivity.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/forward_activity.rb |