Sha256: cb36a39debdfaa9345b8b43fe14a792c4507c2aea7c39e23ebd40d81bd366b53

Contents?: true

Size: 816 Bytes

Versions: 52

Compression:

Stored size: 816 Bytes

Contents

require_relative '../json_able'

module SmartyStreets
  module USExtract
    # 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.
    #
    # See "https://smartystreets.com/docs/cloud/us-extract-api#http-request-input-fields"
    class Lookup < JSONAble
      attr_accessor :text, :result, :aggressive, :addresses_per_line, :html, :addresses_have_line_breaks

      def initialize(text=nil, html=nil, aggressive=nil, addresses_have_line_breaks=nil, addresses_per_line=nil)
        @text = text
        @html = html
        @aggressive = aggressive
        @addresses_have_line_breaks = addresses_have_line_breaks
        @addresses_per_line = addresses_per_line
        @result = nil
      end
    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

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