Sha256: f4f3229629633108770e9923c820420fd3a8c93cae79669a1e43a8f8f0720091

Contents?: true

Size: 580 Bytes

Versions: 2

Compression:

Stored size: 580 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module DearInventory
  class PurchaseList < Resource
    class << self
      extend T::Sig

      # Purchase List
      #
      # @param params [Hash] URL query string parameters that conform to
      #   DearInventory::Parameters::PurchaseList::Index
      sig do
        params(params: T::Hash[Symbol, T.untyped]).
          returns(DearInventory::Response)
      end
      def index(params: {})
        new.request(
          :get, params: params, model: DearInventory::Models::PurchaseLists
        )
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dear_inventory-0.4.1 lib/dear_inventory/resources/purchase_list.rb
dear_inventory-0.4.0 lib/dear_inventory/resources/purchase_list.rb