Sha256: 528b63ffd5f0a734851e169471c812586488637dfcd301dd327323507568a9ef
Contents?: true
Size: 403 Bytes
Versions: 5
Compression:
Stored size: 403 Bytes
Contents
# frozen_string_literal: true module Alma class UserRequest < AlmaRecord extend Alma::ApiDefaults def self.where_user(user_id, args = {}) # Default to upper limit args[:limit] ||= 100 response = Net.get( "#{users_base_path}/#{user_id}/requests", query: args, headers:, timeout: ) Alma::RequestSet.new(response) end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
alma-0.6.2 | lib/alma/user_request.rb |
alma-0.6.1 | lib/alma/user_request.rb |
alma-0.6.0 | lib/alma/user_request.rb |
alma-0.5.1 | lib/alma/user_request.rb |
alma-0.5.0 | lib/alma/user_request.rb |