Sha256: 2e4e202fc17f4bd66023ab55f5fea93af5dce670dc3eec39c4b042a51db8087f

Contents?: true

Size: 898 Bytes

Versions: 14

Compression:

Stored size: 898 Bytes

Contents

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

module ConstantContact
  module Components
    class MessageFooter < Component
      attr_accessor :city, :state, :country, :organization_name, :address_line_1,
                    :address_line_2, :address_line_3, :international_state,
                    :postal_code, :include_forward_email, :forward_email_link_text,
                    :include_subscribe_link, :subscribe_link_text

      # Factory method to create a MessageFooter object from an array
      # @param [Hash] props - properties to create object from
      # @return [MessageFooter]
      def self.create(props)
        obj = MessageFooter.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/message_footer.rb
constantcontact-3.0.0 lib/constantcontact/components/email_marketing/message_footer.rb
constantcontact-2.2.1 lib/constantcontact/components/email_marketing/message_footer.rb
constantcontact-ruby-2.2.1 lib/constantcontact/components/email_marketing/message_footer.rb
constantcontact-ruby-2.2.0 lib/constantcontact/components/email_marketing/message_footer.rb
constantcontact-2.2.0 lib/constantcontact/components/email_marketing/message_footer.rb
constantcontact-2.1.0 lib/constantcontact/components/email_marketing/message_footer.rb
constantcontact-2.0.1 lib/constantcontact/components/email_marketing/message_footer.rb
constantcontact-2.0.0 lib/constantcontact/components/email_marketing/message_footer.rb
constantcontact-1.3.2 lib/constantcontact/components/email_marketing/message_footer.rb
constantcontact-1.2.0 lib/constantcontact/components/email_marketing/message_footer.rb
constantcontact-1.1.2 lib/constantcontact/components/email_marketing/message_footer.rb
constantcontact-1.1.1 lib/constantcontact/components/email_marketing/message_footer.rb
constantcontact-1.1.0 lib/constantcontact/components/email_marketing/message_footer.rb