Sha256: 50470f16871cb6bf762cb2beb9826537b8e2b490f96976a1cf25de44f39057ec

Contents?: true

Size: 634 Bytes

Versions: 1

Compression:

Stored size: 634 Bytes

Contents

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

module ConstantContact
  module Components
    class VerifiedEmailAddress < Component
      attr_accessor :status, :email_address

			# Factory method to create a VerifiedEmailAddress object from a json string
			# @param [Hash] props - array of properties to create object from
			# @return [VerifiedEmailAddress]
			def self.create(props)
				obj = VerifiedEmailAddress.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/account/verified_email_address.rb