Sha256: 59fa03f91bd3da5b9f6ae90fff3fee1d6197f4c8134a3939f2b701a326292cd4

Contents?: true

Size: 479 Bytes

Versions: 6

Compression:

Stored size: 479 Bytes

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    class Purchases < DearInventory::Model
      class Stock < DearInventory::Model
        extend T::Sig

        fields(
          Status: {
            name: :status,
            type: :String,
          },
          Lines: {
            name: :lines,
            type: :Array,
            model: DearInventory::Models::Purchases::StockLine,
          }
        )
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dear_inventory-1.4.0 lib/dear_inventory/models/purchases/stock.rb
dear_inventory-1.3.0 lib/dear_inventory/models/purchases/stock.rb
dear_inventory-1.2.0 lib/dear_inventory/models/purchases/stock.rb
dear_inventory-1.1.1 lib/dear_inventory/models/purchases/stock.rb
dear_inventory-1.1.0 lib/dear_inventory/models/purchases/stock.rb
dear_inventory-1.0.0 lib/dear_inventory/models/purchases/stock.rb