Sha256: 24016f93b9fc819d66bdeee049b5e1a1954866090247566d544efb2025399ac2

Contents?: true

Size: 457 Bytes

Versions: 11

Compression:

Stored size: 457 Bytes

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    module Purchases
      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

11 entries across 11 versions & 1 rubygems

Version Path
dear_inventory-0.7.5 lib/dear_inventory/models/purchases/stock.rb
dear_inventory-0.7.4 lib/dear_inventory/models/purchases/stock.rb
dear_inventory-0.7.3 lib/dear_inventory/models/purchases/stock.rb
dear_inventory-0.7.2 lib/dear_inventory/models/purchases/stock.rb
dear_inventory-0.7.1 lib/dear_inventory/models/purchases/stock.rb
dear_inventory-0.7.0 lib/dear_inventory/models/purchases/stock.rb
dear_inventory-0.6.3 lib/dear_inventory/models/purchases/stock.rb
dear_inventory-0.6.2 lib/dear_inventory/models/purchases/stock.rb
dear_inventory-0.6.1 lib/dear_inventory/models/purchases/stock.rb
dear_inventory-0.6.0 lib/dear_inventory/models/purchases/stock.rb
dear_inventory-0.5.0 lib/dear_inventory/models/purchases/stock.rb