class Dhl::Bcs::V2::Communication

Constants

PROPERTIES

Public Instance Methods

to_soap_hash() click to toggle source
# File lib/dhl/bcs/v2/communication.rb, line 9
def to_soap_hash
  {}.tap do |h|
    h['cis:phone'] = phone if phone
    h['cis:email'] = email if email
    h['cis:contactPerson'] = contact_person if contact_person
  end
end