Sha256: eebf7a68b663a631d0681abbac706ca5188493786c99e39e3e4c2050fdf1c911

Contents?: true

Size: 581 Bytes

Versions: 11

Compression:

Stored size: 581 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

11 entries across 11 versions & 1 rubygems

Version Path
dear_inventory-0.7.5 lib/dear_inventory/resources/purchase_list.rb
dear_inventory-0.7.4 lib/dear_inventory/resources/purchase_list.rb
dear_inventory-0.7.3 lib/dear_inventory/resources/purchase_list.rb
dear_inventory-0.7.2 lib/dear_inventory/resources/purchase_list.rb
dear_inventory-0.7.1 lib/dear_inventory/resources/purchase_list.rb
dear_inventory-0.7.0 lib/dear_inventory/resources/purchase_list.rb
dear_inventory-0.6.3 lib/dear_inventory/resources/purchase_list.rb
dear_inventory-0.6.2 lib/dear_inventory/resources/purchase_list.rb
dear_inventory-0.6.1 lib/dear_inventory/resources/purchase_list.rb
dear_inventory-0.6.0 lib/dear_inventory/resources/purchase_list.rb
dear_inventory-0.5.0 lib/dear_inventory/resources/purchase_list.rb