Class: Shipworks::AmazonOrder
- Inherits:
-
ShipworksRecord
- Object
- ActiveRecord::Base
- ShipworksRecord
- Shipworks::AmazonOrder
- Defined in:
- app/models/shipworks/amazon_order.rb
Constant Summary collapse
- FULFILLMENT_CHANNEL_MAPPING =
{ 0 => 'Unavailable', 1 => 'Amazon', 2 => 'Merchant' }
Instance Method Summary collapse
Methods inherited from ShipworksRecord
Instance Method Details
#FulfillmentChannelName ⇒ Object
11 12 13 |
# File 'app/models/shipworks/amazon_order.rb', line 11 def FulfillmentChannelName FULFILLMENT_CHANNEL_MAPPING[self.FulfillmentChannel] || FulfillmentChannel end |