Sha256: c5b35d0d31b2037ee70fbdddf6515ffae24e5ee0d681a5c936e87d2af9402e56

Contents?: true

Size: 873 Bytes

Versions: 20

Compression:

Stored size: 873 Bytes

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    class Address < DearInventory::Model
      extend T::Sig

      fields(
        DisplayAddressLine1: {
          name: :display_address_line_1,
          type: :String,
        },
        DisplayAddressLine2: {
          name: :display_address_line_2,
          type: :String,
        },
        Line1: {
          name: :line_1,
          type: :String,
        },
        Line2: {
          name: :line_2,
          type: :String,
        },
        City: {
          name: :city,
          type: :String,
        },
        State: {
          name: :state,
          type: :String,
        },
        Postcode: {
          name: :postcode,
          type: :String,
        },
        Country: {
          name: :country,
          type: :String,
        }
      )
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
dear_inventory-1.4.0 lib/dear_inventory/models/address.rb
dear_inventory-1.3.0 lib/dear_inventory/models/address.rb
dear_inventory-1.2.0 lib/dear_inventory/models/address.rb
dear_inventory-1.1.1 lib/dear_inventory/models/address.rb
dear_inventory-1.1.0 lib/dear_inventory/models/address.rb
dear_inventory-1.0.0 lib/dear_inventory/models/address.rb
dear_inventory-0.7.5 lib/dear_inventory/models/address.rb
dear_inventory-0.7.4 lib/dear_inventory/models/address.rb
dear_inventory-0.7.3 lib/dear_inventory/models/address.rb
dear_inventory-0.7.2 lib/dear_inventory/models/address.rb
dear_inventory-0.7.1 lib/dear_inventory/models/address.rb
dear_inventory-0.7.0 lib/dear_inventory/models/address.rb
dear_inventory-0.6.3 lib/dear_inventory/models/address.rb
dear_inventory-0.6.2 lib/dear_inventory/models/address.rb
dear_inventory-0.6.1 lib/dear_inventory/models/address.rb
dear_inventory-0.6.0 lib/dear_inventory/models/address.rb
dear_inventory-0.5.0 lib/dear_inventory/models/address.rb
dear_inventory-0.4.1 lib/dear_inventory/models/address.rb
dear_inventory-0.4.0 lib/dear_inventory/models/address.rb
dear_inventory-0.3.0 lib/dear_inventory/models/address.rb