Sha256: 07649bfb904fd9ba5130528bf6ff8e2b4e2b6ae9099fda62628982e6750702b7

Contents?: true

Size: 559 Bytes

Versions: 6

Compression:

Stored size: 559 Bytes

Contents

module OData4
  class Railtie < Rails::Railtie
    config.before_initialize do
      ::OData4::Railtie.load_configuration!
      ::OData4::Railtie.setup_service_registry!
    end

    # Looks for config/odata.yml and loads the configuration.
    def self.load_configuration!
      # TODO Implement Rails configuration loading
    end

    # Examines the loaded configuration and populates the
    # OData4::ServiceRegistry accordingly.
    def self.setup_service_registry!
      # TODO Populate OData4::ServiceRegistry based on configuration
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
odata4-0.9.1 lib/odata4/railtie.rb
odata4-0.9.0 lib/odata4/railtie.rb
odata4-0.8.2 lib/odata4/railtie.rb
odata4-0.8.1 lib/odata4/railtie.rb
odata4-0.8.0 lib/odata4/railtie.rb
odata4-0.7.0 lib/odata4/railtie.rb