Sha256: c229472cf28fd6ec76667e14641fbf0aa06bb327e110d1335aeb73143dd224cf

Contents?: true

Size: 448 Bytes

Versions: 1

Compression:

Stored size: 448 Bytes

Contents

class KuberKit::Core::Service
  attr_reader :name, :template_name, :tags, :images

  Contract KeywordArgs[
    name:           Symbol,
    template_name:  Symbol,
    tags:           ArrayOf[Symbol],
    images:         ArrayOf[Symbol],
  ] => Any
  def initialize(name:, template_name:, tags:, images:)
    @name = name
    @template_name = template_name
    @tags = tags
    @images = images
  end

  def uri
    name.to_s.sub("_", "-")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kuber_kit-0.1.4 lib/kuber_kit/core/service.rb