Skip to content
Snippets Groups Projects
Commit 8f53c7b8 authored by Fletcher Fowler's avatar Fletcher Fowler Committed by Oriol Gual
Browse files

Added street_address and street_number to Test base

parent d35b9d7b
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,8 @@ module Geocoder
class Test < Base
%w[latitude longitude city state state_code province
province_code postal_code country country_code address].each do |attr|
province_code postal_code country country_code address
street_address street_number].each do |attr|
define_method(attr) do
@data[attr.to_s] || @data[attr.to_sym]
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment