Class: CountryShippingZone
- Inherits:
-
ShippingZone
- Object
- ActiveRecord::Base
- ShippingZone
- CountryShippingZone
- Defined in:
- app/models/country_shipping_zone.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Permalink::Builder
Class Method Details
.all_country_codes ⇒ Object
15 16 17 |
# File 'app/models/country_shipping_zone.rb', line 15 def self.all_country_codes CountryShippingZone.pluck(:country_code) end |
Instance Method Details
#country ⇒ Object
11 12 13 |
# File 'app/models/country_shipping_zone.rb', line 11 def country Carmen::Country.coded(country_code) end |