Class: Retag::Service
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#release ⇒ Object
readonly
Returns the value of attribute release.
-
#repo ⇒ Object
readonly
Returns the value of attribute repo.
-
#suffix ⇒ Object
readonly
Returns the value of attribute suffix.
Instance Method Summary collapse
- #images ⇒ Object
-
#initialize(name, config, release, branch:, suffix:) ⇒ Service
constructor
A new instance of Service.
Methods included from Utils
Constructor Details
#initialize(name, config, release, branch:, suffix:) ⇒ Service
Returns a new instance of Service.
12 13 14 15 16 17 18 |
# File 'lib/retag/service.rb', line 12 def initialize(name, config, release, branch:, suffix:) @name = name @config = config @repo = Retag::Repo.new(config['repo'], branch) @release = release @suffix = suffix end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
8 9 10 |
# File 'lib/retag/service.rb', line 8 def config @config end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/retag/service.rb', line 8 def name @name end |
#release ⇒ Object (readonly)
Returns the value of attribute release.
8 9 10 |
# File 'lib/retag/service.rb', line 8 def release @release end |
#repo ⇒ Object (readonly)
Returns the value of attribute repo.
8 9 10 |
# File 'lib/retag/service.rb', line 8 def repo @repo end |
#suffix ⇒ Object (readonly)
Returns the value of attribute suffix.
8 9 10 |
# File 'lib/retag/service.rb', line 8 def suffix @suffix end |