Class: ErpApp::ApplicationResourceLoader::MobileLoader
- Inherits:
-
BaseLoader
- Object
- BaseLoader
- ErpApp::ApplicationResourceLoader::MobileLoader
- Defined in:
- lib/erp_app/application_resource_loader/mobile_loader.rb
Instance Method Summary collapse
-
#initialize(application) ⇒ MobileLoader
constructor
A new instance of MobileLoader.
- #locate_resources(resource_type) ⇒ Object
Constructor Details
#initialize(application) ⇒ MobileLoader
Returns a new instance of MobileLoader.
7 8 9 |
# File 'lib/erp_app/application_resource_loader/mobile_loader.rb', line 7 def initialize(application) @application = application end |
Instance Method Details
#locate_resources(resource_type) ⇒ Object
11 12 13 14 15 |
# File 'lib/erp_app/application_resource_loader/mobile_loader.rb', line 11 def locate_resources(resource_type) @app_name = @application.internal_identifier locate_resource_files(resource_type) end |