Class: FriendlyShipping::Services::ShipEngine::SerializeAddressResidentialIndicator

Inherits:
Object
  • Object
show all
Defined in:
lib/friendly_shipping/services/ship_engine/serialize_address_residential_indicator.rb

Class Method Summary collapse

Class Method Details

.call(location) ⇒ Hash

Parameters:

  • location (Physical::Location)

Returns:

  • (Hash)


10
11
12
# File 'lib/friendly_shipping/services/ship_engine/serialize_address_residential_indicator.rb', line 10

def call(location)
  { address_residential_indicator: residential_indicator(location) }
end