Sha256: 5877a7d2510d2fc290bebb9ddd29d626a6af87ec303e4b65d2b3c2c895f8d462

Contents?: true

Size: 992 Bytes

Versions: 48

Compression:

Stored size: 992 Bytes

Contents

module SmartyStreets
  module InternationalStreet
    class RootLevel
      attr_reader :input_id, :organization, :address1, :address2, :address3, :address4, :address5, :address6, :address7,
                  :address8, :address9, :address10, :address11, :address12

      def initialize(obj)
        @input_id = obj.fetch('input_id', nil)
        @organization = obj.fetch('organization', nil)
        @address1 = obj.fetch('address1', nil)
        @address2 = obj.fetch('address2', nil)
        @address3 = obj.fetch('address3', nil)
        @address4 = obj.fetch('address4', nil)
        @address5 = obj.fetch('address5', nil)
        @address6 = obj.fetch('address6', nil)
        @address7 = obj.fetch('address7', nil)
        @address8 = obj.fetch('address8', nil)
        @address9 = obj.fetch('address9', nil)
        @address10 = obj.fetch('address10', nil)
        @address11 = obj.fetch('address11', nil)
        @address12 = obj.fetch('address12', nil)
      end
    end
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

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