absorb_api 0.9.1 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +0 -11
- data/lib/absorb_api/create.rb +1 -1
- data/lib/absorb_api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bf767e42a7e5ec5abe9e5bf64e49ce75e5a59465
|
|
4
|
+
data.tar.gz: c78eb3a8d8838256c87fb4a9ff5e1122a0d8e362
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bfe7c24d38dd0dee76956d4248a85265a0226c91f8b6bbec75cbc48b3b0892dbd4fdccdc9fa425508950ef7812b72dc96f80ab0067743cd20d35aa5d2075ef7c
|
|
7
|
+
data.tar.gz: a80e1094dfe1999ecb10a299490daa3629ef4dc7bb475f50c434fc138bc341dc4ec0ac1685311c7b3b155a32443c1c76fe6bb53d1ee769104a68bc32ddaa7c44
|
data/README.md
CHANGED
|
@@ -94,9 +94,6 @@ AbsorbApi::User.create do |user|
|
|
|
94
94
|
user.email_address = "email_address"
|
|
95
95
|
user.password = "password"
|
|
96
96
|
end
|
|
97
|
-
|
|
98
|
-
# To return a collection of courses available per user given a collection of users
|
|
99
|
-
courses = AbsorbApi::User.courses_from_collection(users)
|
|
100
97
|
```
|
|
101
98
|
|
|
102
99
|
### Course
|
|
@@ -141,10 +138,6 @@ course.prerequisites
|
|
|
141
138
|
course.lessons
|
|
142
139
|
# To return a single lesson for a specific course
|
|
143
140
|
course.find_lesson(id)
|
|
144
|
-
|
|
145
|
-
# To return a collection of associated enrollments given a collection of courses
|
|
146
|
-
# Available conditions include modifiedSince and status
|
|
147
|
-
AbsorbApi::Course.enrollments_from_collection(courses, modifiedSince: DateTime.new(2016, 1, 1))
|
|
148
141
|
```
|
|
149
142
|
|
|
150
143
|
### Category
|
|
@@ -271,10 +264,6 @@ AbsorbApi::Lesson.find(id)
|
|
|
271
264
|
# To return a collection of associated lessons matching conditions
|
|
272
265
|
# Available conditions are modifiedSince and status
|
|
273
266
|
course_enrollment.lessons
|
|
274
|
-
|
|
275
|
-
# To return a collection of associated enrollments given a collection of courses
|
|
276
|
-
# Available conditions include modifiedSince and status
|
|
277
|
-
AbsorbApi::CourseEnrollment.lessons_from_collection(course_enrollments, modifiedSince: DateTime.new(2016, 1, 1))
|
|
278
267
|
```
|
|
279
268
|
|
|
280
269
|
### LessonEnrollment
|
data/lib/absorb_api/create.rb
CHANGED
data/lib/absorb_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: absorb_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- npezza
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-09-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activemodel
|
|
@@ -299,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
299
299
|
version: '0'
|
|
300
300
|
requirements: []
|
|
301
301
|
rubyforge_project:
|
|
302
|
-
rubygems_version: 2.6.
|
|
302
|
+
rubygems_version: 2.6.13
|
|
303
303
|
signing_key:
|
|
304
304
|
specification_version: 4
|
|
305
305
|
summary: API wrapper for Absorb LMS
|