Class: Indocker::Volumes::Repository

Inherits:
Object
  • Object
show all
Defined in:
lib/indocker/volumes/repository.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, repository_alias_name, path) ⇒ Repository

Returns a new instance of Repository.



4
5
6
7
8
# File 'lib/indocker/volumes/repository.rb', line 4

def initialize(name, repository_alias_name, path)
  @name = name
  @repository_name = repository_alias_name
  @path = path
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



2
3
4
# File 'lib/indocker/volumes/repository.rb', line 2

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path.



2
3
4
# File 'lib/indocker/volumes/repository.rb', line 2

def path
  @path
end

#repository_nameObject (readonly)

Returns the value of attribute repository_name.



2
3
4
# File 'lib/indocker/volumes/repository.rb', line 2

def repository_name
  @repository_name
end