ims-lti 2.0.0.beta.6 → 2.0.0.beta.7

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: df4ca236db2cf3f13326fae7865269fdf7ce262b
4
- data.tar.gz: 2040e4d65eb4f0e4f46000a3f08aabf6dc776053
3
+ metadata.gz: a4b75c3659bf81408dbd99525354825059501e09
4
+ data.tar.gz: 2c5f25d5f7b46e70accb7342489f9fc3feb610ce
5
5
  SHA512:
6
- metadata.gz: d5a4d95aa5a2118498c663901b1d5ce759e1a718a6d2c0049df7d0c9b91485138e25f0607431382ad3af1db6a44b5983f5895b25088477e91ca65996a6bfe99e
7
- data.tar.gz: 3f10c090359597a66adf2ad1dde62ae03ba1e46f3032af75da5053777a353c0e7d7666711f96af9fab9ee1679733b8f9ea209e4d60f5b646c66fb0f2fd1a180e
6
+ metadata.gz: 2a9572e9e28d1f59228e84a8b43045fd1a0554568ebd700940b2fa6e32142ea5eed7772abdc191e2c805b1c129be48e54efef7cf0d2bb53b9fc4735153c83e1a
7
+ data.tar.gz: 199eaf90fab3d9a37b805947c359fc440ad43e18b30b9c6269b025015e3f2f6b8c29395fd32b6dca9ffe82d245b35e3370cc8b4964845697c1fdbd6c5fd21a8e
@@ -25,5 +25,7 @@ module IMS::LTI
25
25
  require_relative 'models/rest_service_profile'
26
26
  require_relative 'models/base_url_choice'
27
27
  require_relative 'models/base_url_selector'
28
+ require_relative 'models/tool_setting'
29
+ require_relative 'models/tool_setting_container'
28
30
  end
29
31
  end
@@ -0,0 +1,12 @@
1
+ module IMS::LTI::Models
2
+ class ToolSetting < LTIModel
3
+ add_attribute :type, json_key: '@type'
4
+ add_attribute :id, json_key: '@id'
5
+ add_attributes :custom, :custom_url
6
+
7
+ TOOL_PROXY_BINDING_TYPE = 'ToolProxyBinding'
8
+ TOOL_PROXY_TYPE = 'ToolProxy'
9
+ LTI_LINK_TYPE = 'LtiLink'
10
+
11
+ end
12
+ end
@@ -0,0 +1,14 @@
1
+ module IMS::LTI::Models
2
+ class ToolSettingContainer < LTIModel
3
+ add_attribute :context, json_key: '@context'
4
+ add_attribute :graph, json_key: '@graph', relation: 'IMS::LTI::Models::ToolSetting'
5
+
6
+ TOOL_SETTING_CONTAINER_CONTEXT = 'http://purl.imsglobal.org/ctx/lti/v2/ToolSettings'
7
+
8
+ def initialize(opts = {})
9
+ self.context = TOOL_SETTING_CONTAINER_CONTEXT
10
+ super(opts)
11
+ end
12
+
13
+ end
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.6
4
+ version: 2.0.0.beta.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-18 00:00:00.000000000 Z
11
+ date: 2014-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simple_oauth
@@ -135,6 +135,8 @@ files:
135
135
  - lib/ims/lti/models/tool_consumer_profile.rb
136
136
  - lib/ims/lti/models/tool_profile.rb
137
137
  - lib/ims/lti/models/tool_proxy.rb
138
+ - lib/ims/lti/models/tool_setting.rb
139
+ - lib/ims/lti/models/tool_setting_container.rb
138
140
  - lib/ims/lti/models/vendor.rb
139
141
  - lib/ims/lti/services.rb
140
142
  - lib/ims/lti/services/tool_proxy_registration_service.rb