Class: Dependor::Sinatra::DefaultInjector

Inherits:
Object
  • Object
show all
Includes:
AutoInject, Objects
Defined in:
lib/dependor-sinatra/default_injector.rb

Instance Attribute Summary

Attributes included from Objects

#env, #params, #request, #response, #session

Instance Method Summary collapse

Methods included from Objects

#sinatra_objects

Constructor Details

#initialize(objects) ⇒ DefaultInjector

Returns a new instance of DefaultInjector.



7
8
9
# File 'lib/dependor-sinatra/default_injector.rb', line 7

def initialize(objects)
  sinatra_objects(objects)
end