Sha256: 87273a0d0023b111affe76ba8c734d6391f3011c6e9a1cf545b7fc6cc7195ed3
Contents?: true
Size: 479 Bytes
Versions: 9
Compression:
Stored size: 479 Bytes
Contents
eu_vat = Spree::Zone.create!(name: "EU_VAT", description: "Countries that make up the EU VAT zone.") north_america = Spree::Zone.create!(name: "North America", description: "USA + Canada") %w(PL FI PT RO DE FR SK HU SI IE AT ES IT BE SE LV BG GB LT CY LU MT DK NL EE). each do |name| eu_vat.zone_members.create!(zoneable: Spree::Country.find_by!(iso: name)) end %w(US CA).each do |name| north_america.zone_members.create!(zoneable: Spree::Country.find_by!(iso: name)) end
Version data entries
9 entries across 9 versions & 1 rubygems