Sha256: 9f83b20bdc371d59a95d10d91d5121503ce42e62b94942f173e1f071169509c2

Contents?: true

Size: 551 Bytes

Versions: 1

Compression:

Stored size: 551 Bytes

Contents

module SmartyStreets
  module USEnrichment
    module GeoReference
      class Lookup
        attr_reader :smarty_key, :data_set, :data_sub_set, :etag, :custom_param_hash

        def initialize(smarty_key, etag=nil, custom_param_hash=nil)
          @smarty_key = smarty_key
          @data_set = 'geo-reference'
          @data_sub_set = nil
          @etag = etag
          @custom_param_hash = {}
        end

        def add_custom_parameter(parameter, value)
          @custom_param_hash[parameter] = value
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smartystreets_ruby_sdk-5.20.6 lib/smartystreets_ruby_sdk/us_enrichment/geo_reference/lookup.rb