Sha256: 17b32d5dc2520eb0de30218ae6427f0035e3911eb8a0d2a8e882e89748474db0

Contents?: true

Size: 672 Bytes

Versions: 14

Compression:

Stored size: 672 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 - properties to create object from
      # @return [ClickThroughDetails]
      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
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
constantcontact-4.0.0 lib/constantcontact/components/email_marketing/click_through_details.rb
constantcontact-3.0.0 lib/constantcontact/components/email_marketing/click_through_details.rb
constantcontact-2.2.1 lib/constantcontact/components/email_marketing/click_through_details.rb
constantcontact-ruby-2.2.1 lib/constantcontact/components/email_marketing/click_through_details.rb
constantcontact-ruby-2.2.0 lib/constantcontact/components/email_marketing/click_through_details.rb
constantcontact-2.2.0 lib/constantcontact/components/email_marketing/click_through_details.rb
constantcontact-2.1.0 lib/constantcontact/components/email_marketing/click_through_details.rb
constantcontact-2.0.1 lib/constantcontact/components/email_marketing/click_through_details.rb
constantcontact-2.0.0 lib/constantcontact/components/email_marketing/click_through_details.rb
constantcontact-1.3.2 lib/constantcontact/components/email_marketing/click_through_details.rb
constantcontact-1.2.0 lib/constantcontact/components/email_marketing/click_through_details.rb
constantcontact-1.1.2 lib/constantcontact/components/email_marketing/click_through_details.rb
constantcontact-1.1.1 lib/constantcontact/components/email_marketing/click_through_details.rb
constantcontact-1.1.0 lib/constantcontact/components/email_marketing/click_through_details.rb