Sha256: 62730c85aab424f035e66a76e23d096ad444878e670872ec9b4bb77eb1847c08

Contents?: true

Size: 564 Bytes

Versions: 4

Compression:

Stored size: 564 Bytes

Contents

# typed: strict
# frozen_string_literal: true

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

      # Sale List
      #
      # @param params [Hash] URL query string parameters that conform to
      #   DearInventory::Parameters::SaleList::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::SaleLists
        )
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dear_inventory-0.4.1 lib/dear_inventory/resources/sale_list.rb
dear_inventory-0.4.0 lib/dear_inventory/resources/sale_list.rb
dear_inventory-0.3.0 lib/dear_inventory/resources/sale_list.rb
dear_inventory-0.2.0 lib/dear_inventory/resources/sale_list.rb