lib/alma/user_request.rb in alma-0.3.1 vs lib/alma/user_request.rb in alma-0.3.2
- old
+ new
@@ -1,9 +1,11 @@
+# frozen_string_literal: true
+
module Alma
class UserRequest < AlmaRecord
extend Alma::ApiDefaults
- def self.where_user(user_id, args={})
+ 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,