lib/ups/builders/organisation_builder.rb
# Returns an XML representation of a UPS Organization
#
# @return [Ox::Element] XML representation of the current object
Returns an XML representation of a UPS Organization
Returns an XML representation of a UPS Organization
def to_xml
        Element.new(name).tap do |org|
          org << company_name
          org << phone_number
          org << attention_name
          org << address
          org << tax_identification_number
        end
      end
def to_xml Element . new ( name ) . tap do | org | org << company_name org << phone_number org << attention_name org << address org << tax_identification_number end end
Returns an XML representation of a UPS Organization
Returns an XML representation of a UPS Organization
XML representation of the current object
XML representation of the current object
Ox::Element