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