Sha256: 68ea32f4209ea7f9b56d16852c3b99a50aef3e2af3aa0673e41d10055caca1bd
Contents?: true
Size: 691 Bytes
Versions: 14
Compression:
Stored size: 691 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 - 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
14 entries across 14 versions & 2 rubygems