Created
January 4, 2018 13:33
-
-
Save valterbarros/4fe478b1137fa75f688c840f5f7be2a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include ::Injections | |
register_injections ConstructionSiteStatus: %I[repo manager_creator] | |
module Injections | |
module ConstructionSiteStatus | |
def provide_construction_site_status_repo | |
@construction_site_status_repo ||= Repositories::Obras:: \ | |
ConstructionSiteStatus::DelegateRepository.new | |
end | |
def provide_manager_creator | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment