Class: Indocker::Registries::Remote

Inherits:
Abstract
  • Object
show all
Defined in:
lib/indocker/registries/remote.rb

Instance Attribute Summary collapse

Attributes inherited from Abstract

#repository_name

Instance Method Summary collapse

Methods inherited from Abstract

#initialize, #is_local?

Methods included from Concerns::Inspectable

#inspect

Constructor Details

This class inherits a constructor from Indocker::Registries::Abstract

Instance Attribute Details

#server_nameObject (readonly)

Returns the value of attribute server_name.



2
3
4
# File 'lib/indocker/registries/remote.rb', line 2

def server_name
  @server_name
end

Instance Method Details

#setup(server_name) ⇒ Object



4
5
6
7
# File 'lib/indocker/registries/remote.rb', line 4

def setup(server_name)
  @server_name = server_name
  self
end

#urlObject



9
10
11
# File 'lib/indocker/registries/remote.rb', line 9

def url
  @server_name
end