class ConstantContact::Components::MessageFooter

Attributes

address_line_1[RW]
address_line_2[RW]
address_line_3[RW]
city[RW]
country[RW]
include_forward_email[RW]
international_state[RW]
organization_name[RW]
postal_code[RW]
state[RW]

Public Class Methods

create(props) click to toggle source

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

# File lib/constantcontact/components/email_marketing/message_footer.rb, line 18
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