Sha256: 2a488a8113b3b2f49097bf94e7a2ff217a84019d8a4af3613331474fb22d5b67

Contents?: true

Size: 876 Bytes

Versions: 1

Compression:

Stored size: 876 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

1 entries across 1 versions & 1 rubygems

Version Path
dear_inventory-0.2.0 lib/dear_inventory/models/address.rb