Class: Dhl::Bcs::V2::Packstation
- Defined in:
- lib/dhl/bcs/v2/packstation.rb
Constant Summary collapse
- ADD_PROPS =
%i(post_number packstation_number).freeze
- PROPERTIES =
Location::PROPERTIES + ADD_PROPS
Instance Method Summary collapse
Methods included from Buildable
Instance Method Details
#to_soap_hash ⇒ Object
8 9 10 11 12 13 |
# File 'lib/dhl/bcs/v2/packstation.rb', line 8 def to_soap_hash h = {} h['postNumber'] = post_number if post_number h['packstationNumber'] = packstation_number h.merge(super) end |