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