Sha256: fb4a2c24bc0aa2807082f974f8d1241ccb54807163afe1c53e712a7648f9bbc1
Contents?: true
Size: 521 Bytes
Versions: 63
Compression:
Stored size: 521 Bytes
Contents
eu_vat = Spree::Zone.create!(name: "EU_VAT", description: "Countries that make up the EU VAT zone.", kind: 'country') north_america = Spree::Zone.create!(name: "North America", description: "USA + Canada", kind: 'country') %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 HR CZ GR). 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
63 entries across 63 versions & 1 rubygems