class Dpd::Shipping::RetoureService

Attributes

pickup[RW]

Public Instance Methods

pickup?() click to toggle source
# File lib/dpd_shipping/service/retoure.rb, line 6
def pickup?
  !!@pickup
end
service_type() click to toggle source
# File lib/dpd_shipping/service/retoure.rb, line 10
def service_type
  if pickup?
    "dpdRetourePickup"
  else
    "dpdShopRetoure"
  end
end