Sha256: 7c124542b45166e338af0d2f2a8178ebd1695b8c4262623b15e2ae9112297dc0

Contents?: true

Size: 290 Bytes

Versions: 46

Compression:

Stored size: 290 Bytes

Contents

require_relative 'result'

module SmartyStreets
  module USReverseGeo
    class Response
      attr_reader :results

      def initialize(obj)
        @results = []

        obj['results'].each do |result|
          @results.push(Result.new(result))
        end
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
smartystreets_ruby_sdk-5.20.6 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.20.4 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.20.3 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.20.2 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.19.0 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.18.1 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.18.0 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.17.2 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.17.1 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.17.0 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.16.2 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.16.1 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.16.0 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.15.4 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.15.3 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.15.2 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.15.1 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.15.0 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.14.22 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb
smartystreets_ruby_sdk-5.14.19 lib/smartystreets_ruby_sdk/us_reverse_geo/us_reverse_geo_response.rb