Sha256: d1f1f734e0a89312b6e9c13d4ed5d4ea38f3478d57d5a396fe4fdac196e050cc

Contents?: true

Size: 381 Bytes

Versions: 3

Compression:

Stored size: 381 Bytes

Contents

require_relative "attributes"

module SmartyStreets
  module USEnrichment
    module GeoReference
      class Response
        attr_reader :smarty_key, :data_set, :attributes

        def initialize(obj)
          @smarty_key = obj['smarty_key']
          @data_set = 'geo-reference'
          @attributes = Attributes.new(obj['attributes'])
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
smartystreets_ruby_sdk-5.20.3 lib/smartystreets_ruby_sdk/us_enrichment/geo_reference/response.rb
smartystreets_ruby_sdk-5.20.2 lib/smartystreets_ruby_sdk/us_enrichment/geo_reference/response.rb
smartystreets_ruby_sdk-5.19.0 lib/smartystreets_ruby_sdk/us_enrichment/geo_reference/response.rb