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: d01c6f946c6a8fddbfce47ddca255fbd02a42ec1
4
- data.tar.gz: 0ae195df624899f756c17b02c81d35347f83df0e
3
+ metadata.gz: 46cfe426f57a5755921c2495ea068c65df5bd0aa
4
+ data.tar.gz: 371d56f289c38af52ff1ec733b891cf3bf553fe5
5
5
  SHA512:
6
- metadata.gz: bbcd37bd3faabb625aac0ba99861994b1c1ba4a8e75531aceff1cb2e5738a06c2b69940e918ce2ab234f3c47d486a6a9c1a45bfb6f10a2d2e5cf92386989acd4
7
- data.tar.gz: e3b4adb42bb47de650b5d93d3ccba91db8c217a49a54df44c9b9b323acc94d42cb1566bb302fe606c7d6ad085071f52caa54bc122cdcbe6d93b631517b828c5f
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
@@ -3,5 +3,12 @@ module IMS::LTI::Models::ContentItems
3
3
 
4
4
  add_attributes :copyAdvice, :expires_at
5
5
 
6
+ TYPE = "FileItem"
7
+
8
+ def initialize(attributes = {})
9
+ super(attributes)
10
+ self.type = TYPE
11
+ end
12
+
6
13
  end
7
14
  end
@@ -3,5 +3,12 @@ module IMS::LTI::Models::ContentItems
3
3
 
4
4
  add_attributes :custom
5
5
 
6
+ TYPE = "LtiLink"
7
+
8
+ def initialize(attributes = {})
9
+ super(attributes)
10
+ self.type = TYPE
11
+ end
12
+
6
13
  end
7
14
  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.22
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-27 00:00:00.000000000 Z
11
+ date: 2015-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simple_oauth