Sha256: 0b0284b9d19e78ac4b56be4562518cea796bad05ae8a28b76be4c65cec129473

Contents?: true

Size: 656 Bytes

Versions: 1

Compression:

Stored size: 656 Bytes

Contents

#
# click_through_details.rb
# ConstantContact
#
# Copyright (c) 2013 Constant Contact. All rights reserved.

module ConstantContact
	module Components
		class ClickThroughDetails < Component
			attr_accessor :url, :url_uid, :click_count


			# Factory method to create an ClickThroughDetails object from an array
			# @param [Hash] props - hash of properties to create object from
			# @return [ClickThroughDetails]
			def self.create(props)
				click_through_details = ClickThroughDetails.new
				if props
					props.each do |key, value|
						click_through_details.send("#{key}=", value)
					end
				end
				click_through_details
			end

		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
constantcontact-1.0.0 lib/constantcontact/components/email_marketing/click_through_details.rb