Sha256: 06c1ffcf51e2878466d14ae9f59ea7b0733027d68554197687992a62b25f89b0

Contents?: true

Size: 672 Bytes

Versions: 27

Compression:

Stored size: 672 Bytes

Contents

module SmartyStreets
  module USReverseGeo
    # In addition to holding all of the input data for this lookup, this class also will contain the
    # result of the lookup after it comes back from the API.
    #
    # Note: Lookups must have certain required fields set with non-blank values.
    # These can be found at the URL below.
    #
    # See "https://smartystreets.com/docs/cloud/us-reverse-geo-api#http-request-input-fields"

    class Lookup

      attr_accessor :latitude, :longitude, :response

      def initialize(latitude, longitude)
        @latitude = sprintf('%.8f', latitude)
        @longitude = sprintf('%.8f', longitude)
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
smartystreets_ruby_sdk-5.14.19 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.14.18 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.14.17 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.14.14 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.14.13 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-0.0.0 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.14.11 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.14.10 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.14.9 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.14.8 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.14.7 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.14.6 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.14.5 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.14.4 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.14.3 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.14.1 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.14.0 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.13.0 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.12.1 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb
smartystreets_ruby_sdk-5.12.0 lib/smartystreets_ruby_sdk/us_reverse_geo/lookup.rb