Sha256: 2568e1197c9af278c38cddf2690a403ce95454b40d38ff8c12c0e37e010836b4
Contents?: true
Size: 844 Bytes
Versions: 5
Compression:
Stored size: 844 Bytes
Contents
# typed: strict # frozen_string_literal: true module DearInventory class ProductAvailability < Resource class << self extend T::Sig # ProductAvailability # # @param params [Hash] URL query string parameters that conform to # DearInventory::Parameters::ProductAvailability::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::ProductAvailabilityResults ) end alias call index end private sig { params(_endpoint: T.nilable(String)).returns(String) } def resource_uri(_endpoint) self.class.const_get(:URI_BASE) + "/ref/productavailability" end end end
Version data entries
5 entries across 5 versions & 1 rubygems