lib/physical/location.rb in physical-0.1.1 vs lib/physical/location.rb in physical-0.1.2

- old
+ new

@@ -42,11 +42,11 @@ @country = Carmen::Country.coded(country.to_s) end if region.is_a?(Carmen::Region) @region = region - elsif country.is_a?(Carmen::Country) - @region = country.subregions.coded(region.to_s.upcase) + elsif @country.is_a?(Carmen::Country) + @region = @country.subregions.coded(region.to_s.upcase) end @name = name @company_name = company_name @address1 = address1