Class: DTK::Client::Operation::ClientModuleDir::ServiceInstance::Internal::ModuleInfo
- Inherits:
-
Object
- Object
- DTK::Client::Operation::ClientModuleDir::ServiceInstance::Internal::ModuleInfo
- Defined in:
- lib/client/operation/client_module_dir/service_instance/internal/module_info.rb
Instance Method Summary collapse
- #branch ⇒ Object
-
#initialize(module_info_hash) ⇒ ModuleInfo
constructor
A new instance of ModuleInfo.
- #module_name ⇒ Object
- #repo_url ⇒ Object
Constructor Details
#initialize(module_info_hash) ⇒ ModuleInfo
Returns a new instance of ModuleInfo.
22 23 24 |
# File 'lib/client/operation/client_module_dir/service_instance/internal/module_info.rb', line 22 def initialize(module_info_hash) @module_info_hash = module_info_hash end |
Instance Method Details
#branch ⇒ Object
30 31 32 |
# File 'lib/client/operation/client_module_dir/service_instance/internal/module_info.rb', line 30 def branch index(:branch, :name) end |
#module_name ⇒ Object
34 35 36 |
# File 'lib/client/operation/client_module_dir/service_instance/internal/module_info.rb', line 34 def module_name index(:module, :name) end |
#repo_url ⇒ Object
26 27 28 |
# File 'lib/client/operation/client_module_dir/service_instance/internal/module_info.rb', line 26 def repo_url index(:repo, :url) end |