lib/geocoder/results/geocodio.rb in geocoder-1.2.6 vs lib/geocoder/results/geocodio.rb in geocoder-1.2.7
- old
+ new
@@ -12,9 +12,13 @@
def suffix
address_components["suffix"]
end
+ def street_address
+ [number, address_components["formatted_street"]].compact.join(' ')
+ end
+
def state
address_components["state"]
end
alias_method :state_code, :state