ims-lti 2.0.0.beta.22 → 2.0.0.beta.23
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46cfe426f57a5755921c2495ea068c65df5bd0aa
|
4
|
+
data.tar.gz: 371d56f289c38af52ff1ec733b891cf3bf553fe5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d776a2e25856be8a7b32844a69430b5854bffeedc2ca2db1f76d322c6675f476958ae183a306b580b195df102570645c533646a0b8f3ecc5e4cf99121e77ae85
|
7
|
+
data.tar.gz: 8f3a02b6c135870c68d737a22253fafae9b73df0b57d0204d193129efa8190c0bbc4892e97632269d670109196e2b6cd2831962f212b78cae07574377e230973
|
@@ -8,6 +8,12 @@ module IMS::LTI::Models::ContentItems
|
|
8
8
|
add_attribute :placement_advice, relation: 'IMS::LTI::Models::ContentItemPlacement'
|
9
9
|
add_attribute :thumbnail, relation: 'IMS::LTI::Models::Image'
|
10
10
|
|
11
|
+
TYPE = "ContentItem"
|
12
|
+
|
13
|
+
def initialize(attributes = {})
|
14
|
+
super(attributes)
|
15
|
+
self.type = TYPE
|
16
|
+
end
|
11
17
|
|
12
18
|
def self.from_json(json)
|
13
19
|
data = json.is_a?(String) ? JSON.parse(json) : json
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ims-lti
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.beta.
|
4
|
+
version: 2.0.0.beta.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Instructure
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: simple_oauth
|