Sha256: 7e40375046ef52740e32607ba789ae7c0b2bc919b95d9794b1da6be94d17ec5f

Contents?: true

Size: 474 Bytes

Versions: 6

Compression:

Stored size: 474 Bytes

Contents

# typed: strong
# frozen_string_literal: true

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

      fields(
        Total: {
          name: :total,
          type: :Integer,
        },
        Page: {
          name: :page,
          type: :Integer,
        },
        SaleList: {
          name: :sales,
          type: :ResultSet,
          model: DearInventory::Models::Sales,
        }
      )
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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