lib/alma/course.rb in alma-0.4.0 vs lib/alma/course.rb in alma-0.4.1
- old
+ new
@@ -6,11 +6,11 @@
extend Forwardable
def self.all_courses(args: {})
response = HTTParty.get("#{courses_base_path}/courses",
query: args,
- headers: headers,
- timeout: timeout)
+ headers:,
+ timeout:)
if response.code == 200
Alma::CourseSet.new(get_body_from(response))
else
raise StandardError, get_body_from(response)
end