class ConstantContact::Components::ClickThroughDetails

Attributes

click_count[RW]
url[RW]
url_uid[RW]

Public Class Methods

create(props) click to toggle source

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

# File lib/constantcontact/components/email_marketing/click_through_details.rb, line 16
def self.create(props)
  obj = ClickThroughDetails.new
  if props
    props.each do |key, value|
      obj.send("#{key}=", value) if obj.respond_to? key
    end
  end
  obj
end