Sha256: 0bd5901f47a5c5652a6b3dd3cf2b7f9df59626605c75e765ef8b1fbda66f7173

Contents?: true

Size: 482 Bytes

Versions: 6

Compression:

Stored size: 482 Bytes

Contents

# typed: strong
# frozen_string_literal: true

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

      fields(
        Total: {
          name: :total,
          type: :Integer,
        },
        Page: {
          name: :page,
          type: :Integer,
        },
        CustomerList: {
          name: :customer_list,
          type: :Array,
          model: DearInventory::Models::Customer,
        }
      )
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dear_inventory-0.7.5 lib/dear_inventory/models/customers.rb
dear_inventory-0.7.4 lib/dear_inventory/models/customers.rb
dear_inventory-0.7.3 lib/dear_inventory/models/customers.rb
dear_inventory-0.7.2 lib/dear_inventory/models/customers.rb
dear_inventory-0.7.1 lib/dear_inventory/models/customers.rb
dear_inventory-0.7.0 lib/dear_inventory/models/customers.rb