Class: Alma::UserRequest
- Inherits:
-
AlmaRecord
- Object
- AlmaRecord
- Alma::UserRequest
- Extended by:
- ApiDefaults
- Defined in:
- lib/alma/user_request.rb
Class Method Summary collapse
Methods included from ApiDefaults
apikey, bibs_base_path, configuration_base_path, headers, items_base_path, region, timeout, users_base_path
Methods inherited from AlmaRecord
#initialize, #method_missing, #post_initialize, #respond_to_missing?, #response
Constructor Details
This class inherits a constructor from Alma::AlmaRecord
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Alma::AlmaRecord
Class Method Details
.where_user(user_id, args = {}) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/alma/user_request.rb', line 7 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 |