Sha256: 784b14f2dde26cccaf3c034663abea3823a617442a9c45176a87178cd9a4ad2e

Contents?: true

Size: 671 Bytes

Versions: 4

Compression:

Stored size: 671 Bytes

Contents

Trailblazer.class_eval do
  autoload :NotAuthorizedError, "trailblazer/operation/policy"
end

Trailblazer::Operation.class_eval do
  autoload :Controller, "trailblazer/operation/controller"
  autoload :Model,      "trailblazer/operation/model"
  autoload :Collection, "trailblazer/operation/collection"
  autoload :Dispatch,   "trailblazer/operation/dispatch" # TODO: remove in 1.2.
  autoload :Callback,   "trailblazer/operation/callback"
  autoload :Module,     "trailblazer/operation/module"
  autoload :Representer,"trailblazer/operation/representer"
  autoload :Policy,     "trailblazer/operation/policy"
  autoload :Resolver,   "trailblazer/operation/resolver"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trailblazer-1.1.2 lib/trailblazer/autoloading.rb
trailblazer-1.1.1 lib/trailblazer/autoloading.rb
trailblazer-1.1.0 lib/trailblazer/autoloading.rb
trailblazer-1.1.0.rc1 lib/trailblazer/autoloading.rb