Sha256: e3acc6e7e0a02bc3fc835a5da25ba7411de44e5d83a78187f80a85b868da2fba

Contents?: true

Size: 643 Bytes

Versions: 6

Compression:

Stored size: 643 Bytes

Contents

# typed: strong
# frozen_string_literal: true

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

          fields(
            TaskID: {
              name: :task_id,
              type: :Guid,
            },
            Status: {
              name: :status,
              type: :String,
            },
            Lines: {
              name: :lines,
              type: :Array,
              model: DearInventory::Models::Purchases::Advanced::StockLine,
            }
          )
        end
      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/advanced/stock.rb
dear_inventory-1.3.0 lib/dear_inventory/models/purchases/advanced/stock.rb
dear_inventory-1.2.0 lib/dear_inventory/models/purchases/advanced/stock.rb
dear_inventory-1.1.1 lib/dear_inventory/models/purchases/advanced/stock.rb
dear_inventory-1.1.0 lib/dear_inventory/models/purchases/advanced/stock.rb
dear_inventory-1.0.0 lib/dear_inventory/models/purchases/advanced/stock.rb