class ConstantContact::Components::ForwardActivity
Attributes
activity_type[RW]
campaign_id[RW]
contact_id[RW]
email_address[RW]
forward_date[RW]
Public Class Methods
create(props)
click to toggle source
Factory method to create a ForwardActivity
object from an array @param [Hash] props - properties to create object from @return [ForwardActivity]
# File lib/constantcontact/components/tracking/forward_activity.rb, line 15 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