Class: DTK::Client::Operation::ClientModuleDir::ServiceInstance::Internal::ModuleInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/client/operation/client_module_dir/service_instance/internal/module_info.rb

Instance Method Summary collapse

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

#branchObject



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_nameObject



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_urlObject



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