class ConstantContact::Components::SendActivity

Attributes

activity_type[RW]
campaign_id[RW]
contact_id[RW]
email_address[RW]
send_date[RW]

Public Class Methods

create(props) click to toggle source

Factory method to create a SendActivity object from an array @param [Hash] props - properties to create object from @return [SendActivity]

# File lib/constantcontact/components/tracking/send_activity.rb, line 16
def self.create(props)
  obj = SendActivity.new
  if props
    props.each do |key, value|
      obj.send("#{key}=", value)
    end
  end
  obj
end