Class: Alma::CourseSet

Inherits:
ResultSet show all
Defined in:
lib/alma/course_set.rb

Instance Attribute Summary

Attributes inherited from ResultSet

#response

Instance Method Summary collapse

Methods inherited from ResultSet

#each, #initialize, #loggable

Methods included from Error

#error, #error_message, #has_error?

Constructor Details

This class inherits a constructor from Alma::ResultSet

Instance Method Details

#keyObject



5
6
7
# File 'lib/alma/course_set.rb', line 5

def key
  "course"
end

#single_record_classObject



9
10
11
# File 'lib/alma/course_set.rb', line 9

def single_record_class
  Alma::Course
end

#total_record_countObject



13
14
15
# File 'lib/alma/course_set.rb', line 13

def total_record_count
  size
end