ims-lti 2.0.0.beta.21 → 2.0.0.beta.22
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: d01c6f946c6a8fddbfce47ddca255fbd02a42ec1
|
4
|
+
data.tar.gz: 0ae195df624899f756c17b02c81d35347f83df0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbcd37bd3faabb625aac0ba99861994b1c1ba4a8e75531aceff1cb2e5738a06c2b69940e918ce2ab234f3c47d486a6a9c1a45bfb6f10a2d2e5cf92386989acd4
|
7
|
+
data.tar.gz: e3b4adb42bb47de650b5d93d3ccba91db8c217a49a54df44c9b9b323acc94d42cb1566bb302fe606c7d6ad085071f52caa54bc122cdcbe6d93b631517b828c5f
|
@@ -2,6 +2,13 @@ module IMS::LTI::Models::Messages
|
|
2
2
|
class ContentItemSelection < Message
|
3
3
|
add_optional_params :content_items, :data, :lti_msg, :lti_log, :lti_errormsg, :lti_errorlog
|
4
4
|
|
5
|
+
MESSAGE_TYPE = 'ContentItemSelection'
|
6
|
+
|
7
|
+
def initialize(attrs = {})
|
8
|
+
super(attrs)
|
9
|
+
self.lti_message_type = MESSAGE_TYPE
|
10
|
+
end
|
11
|
+
|
5
12
|
def content_items=(ci)
|
6
13
|
if ci.instance_of? String
|
7
14
|
container = IMS::LTI::Models::ContentItemContainer.from_json ci
|
@@ -80,6 +80,8 @@ module IMS::LTI::Models::Messages
|
|
80
80
|
RegistrationRequest.new(params)
|
81
81
|
when ContentItemSelectionRequest::MESSAGE_TYPE
|
82
82
|
ContentItemSelectionRequest.new(params)
|
83
|
+
when ContentItemSelection::MESSAGE_TYPE
|
84
|
+
ContentItemSelection.new(params)
|
83
85
|
else
|
84
86
|
self.new(params)
|
85
87
|
end
|
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.22
|
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-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: simple_oauth
|