Sha256: 9e5cefcfb8b6a503924275ccbd81b4518cbf761611dbf2b84fd7098d636c7adf

Contents?: true

Size: 352 Bytes

Versions: 2

Compression:

Stored size: 352 Bytes

Contents

module TwitterLti
  class Engine < ::Rails::Engine
    isolate_namespace TwitterLti
    
    initializer "lti_provider.load_app_instance_data" do |app|
      TwitterLti.setup do |config|
        config.app_root = app.root
      end
    end

    initializer "lti_provider.lti_config" do |app|
      TwitterLti::TwitterLtiConfig.setup!
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
twitter_lti-0.0.3 lib/twitter_lti/engine.rb
twitter_lti-0.0.2 lib/twitter_lti/engine.rb