lib/regio/geocode.rb in regio-0.1.0 vs lib/regio/geocode.rb in regio-0.1.1

- old
+ new

@@ -25,9 +25,11 @@ def initialize(options = {}) @options = default_options.merge(options) end def results + raise Unprocessable, response[:message] if response[:message] + response.merge( collection: response[:data]&.map { |result| transform(result) } || [] ) end