Class: DceLti::ConfigsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- DceLti::ConfigsController
- Defined in:
- app/controllers/dce_lti/configs_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'app/controllers/dce_lti/configs_controller.rb', line 5 def index tool_config = ::IMS::LTI::ToolConfig.new( launch_url: sessions_url, title: engine_config.provider_title, description: engine_config.provider_description, ) if engine_config.respond_to?(:tool_config_extensions) engine_config.tool_config_extensions.call(self, tool_config) end render xml: tool_config end |