lib/alma/fine.rb in alma-0.4.0 vs lib/alma/fine.rb in alma-0.4.1

- old
+ new

@@ -3,10 +3,10 @@ module Alma class Fine < AlmaRecord extend Alma::ApiDefaults def self.where_user(user_id, args = {}) - response = HTTParty.get("#{users_base_path}/#{user_id}/fees", query: args, headers: headers, timeout: timeout) + response = HTTParty.get("#{users_base_path}/#{user_id}/fees", query: args, headers:, timeout:) if response.code == 200 Alma::FineSet.new(response) else raise StandardError, get_body_from(response) end