Class: LessonlyApi::Assignments
- Inherits:
-
Request
- Object
- ResourceType::Base
- Request
- LessonlyApi::Assignments
- Defined in:
- lib/lessonly_api/assignments.rb
Class Method Summary collapse
Methods inherited from Request
Methods inherited from ResourceType::Base
#attributes, dump, fields, from_json, #initialize, load
Constructor Details
This class inherits a constructor from LessonlyApi::ResourceType::Base
Class Method Details
.list(page: 1, per_page: 50) ⇒ Object
4 5 6 7 |
# File 'lib/lessonly_api/assignments.rb', line 4 def list(page: 1, per_page: 50) raw_result = send_get('/assignments', page: page, per_page: per_page) LessonlyApi::ResourceType::Assignments.new(raw_result) end |