Sha256: 088462c682a62d8a886559fd554ef75f551f1dd2dfded35091fa179b00028efa

Contents?: true

Size: 1.08 KB

Versions: 12

Compression:

Stored size: 1.08 KB

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    class Customers < DearInventory::Model
      class Contact < DearInventory::Model
        extend T::Sig

        fields(
          ID: {
            name: :id,
            type: :Guid,
          },
          Name: {
            name: :name,
            type: :Guid,
          },
          Phone: {
            name: :phone,
            type: :Guid,
          },
          MobilePhone: {
            name: :mobile_phone,
            type: :Guid,
          },
          Fax: {
            name: :fax,
            type: :Guid,
          },
          Email: {
            name: :email,
            type: :Guid,
          },
          Website: {
            name: :website,
            type: :Guid,
          },
          Comment: {
            name: :comment,
            type: :Guid,
          },
          Default: {
            name: :default,
            type: :Guid,
          },
          IncludeInEmail: {
            name: :include_in_email,
            type: :Guid,
          }
        )
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dear_inventory-1.4.0 lib/dear_inventory/models/customers/contact.rb
dear_inventory-1.3.0 lib/dear_inventory/models/customers/contact.rb
dear_inventory-1.2.0 lib/dear_inventory/models/customers/contact.rb
dear_inventory-1.1.1 lib/dear_inventory/models/customers/contact.rb
dear_inventory-1.1.0 lib/dear_inventory/models/customers/contact.rb
dear_inventory-1.0.0 lib/dear_inventory/models/customers/contact.rb
dear_inventory-0.7.5 lib/dear_inventory/models/customers/contact.rb
dear_inventory-0.7.4 lib/dear_inventory/models/customers/contact.rb
dear_inventory-0.7.3 lib/dear_inventory/models/customers/contact.rb
dear_inventory-0.7.2 lib/dear_inventory/models/customers/contact.rb
dear_inventory-0.7.1 lib/dear_inventory/models/customers/contact.rb
dear_inventory-0.7.0 lib/dear_inventory/models/customers/contact.rb