Class: KuberKit::Core::Service
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#tags ⇒ Object
readonly
Returns the value of attribute tags.
-
#template_name ⇒ Object
readonly
Returns the value of attribute template_name.
Instance Method Summary collapse
-
#initialize(name:, template_name:, tags:) ⇒ Service
constructor
A new instance of Service.
Constructor Details
#initialize(name:, template_name:, tags:) ⇒ Service
Returns a new instance of Service.
9 10 11 12 13 |
# File 'lib/kuber_kit/core/service.rb', line 9 def initialize(name:, template_name:, tags:) @name = name @template_name = template_name = end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
2 3 4 |
# File 'lib/kuber_kit/core/service.rb', line 2 def name @name end |
#tags ⇒ Object (readonly)
Returns the value of attribute tags.
2 3 4 |
# File 'lib/kuber_kit/core/service.rb', line 2 def end |
#template_name ⇒ Object (readonly)
Returns the value of attribute template_name.
2 3 4 |
# File 'lib/kuber_kit/core/service.rb', line 2 def template_name @template_name end |