Class: Shipworks::Store
- Inherits:
-
ShipworksRecord
- Object
- ActiveRecord::Base
- ShipworksRecord
- Shipworks::Store
- Defined in:
- app/models/shipworks/store.rb
Constant Summary collapse
- STORE_TYPE_MAPPING =
{ 1 => 'eBay', 10 => 'Amazon', 13 => 'Zen Cart', 31 => 'Generic - File', 34 => 'Newegg', 35 => 'Buy.com', 36 => 'Sears', 61 => 'Choxi', 75 => 'Walmart', 78 => 'GeekSeller' }
Instance Method Summary collapse
Methods inherited from ShipworksRecord
Instance Method Details
#TypeName ⇒ Object
18 19 20 |
# File 'app/models/shipworks/store.rb', line 18 def TypeName STORE_TYPE_MAPPING[self.TypeCode] || self.TypeCode end |