Module: Appfuel::Application::AppContainer
- Included in:
- Db::ActiveRecordModel, Domain::Entity, Dynamodb::NoSqlModel, ElasticSearch::Adapter, Handler::Base, Repository::Base, WebApi::HttpModel
- Defined in:
- lib/appfuel/application/app_container.rb
Overview
Mixins to allow you to handle application container keys. The application container operates based on certain conventions which we take into account here.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
- #app_container ⇒ Object
- #feature_name ⇒ Object
-
#qualify_container_key(key, type_ns) ⇒ Object
Instance methods.
Class Method Details
.included(base) ⇒ Object
7 8 9 10 11 |
# File 'lib/appfuel/application/app_container.rb', line 7 def self.included(base) base.extend(ClassMethods) base.extend(ContainerClassRegistration) base.extend(FeatureHelper) end |
Instance Method Details
#app_container ⇒ Object
241 242 243 |
# File 'lib/appfuel/application/app_container.rb', line 241 def app_container self.class.app_container end |
#feature_name ⇒ Object
245 246 247 |
# File 'lib/appfuel/application/app_container.rb', line 245 def feature_name self.class.feature_name end |
#qualify_container_key(key, type_ns) ⇒ Object
Instance methods
237 238 239 |
# File 'lib/appfuel/application/app_container.rb', line 237 def qualify_container_key(key, type_ns) self.class.qualify_container_key(key, type_ns) end |