Sha256: ebda2bcc8d4723ae858b7d53a8381a7c6aaece4d146956754727ae0f5bc448eb

Contents?: true

Size: 482 Bytes

Versions: 5

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: :customers,
          type: :ResultSet,
          model: DearInventory::Models::Customer,
        }
      )
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dear_inventory-1.4.0 lib/dear_inventory/models/customers.rb
dear_inventory-1.3.0 lib/dear_inventory/models/customers.rb
dear_inventory-1.2.0 lib/dear_inventory/models/customers.rb
dear_inventory-1.1.1 lib/dear_inventory/models/customers.rb
dear_inventory-1.1.0 lib/dear_inventory/models/customers.rb