Sha256: acb577bfbb6398ca1dd2d7fe5c68c77c7cb340c4d45d44bd75aaba99d4b1cd2b

Contents?: true

Size: 547 Bytes

Versions: 2

Compression:

Stored size: 547 Bytes

Contents

class KuberKit::Core::ContextHelper::ServiceHelper < KuberKit::Core::ContextHelper::BaseHelper
  def initialize(image_store:, artifact_store:, shell:, env_file_reader:, service:)
    super(
      image_store:      image_store, 
      artifact_store:   artifact_store, 
      shell:            shell,
      env_file_reader:  env_file_reader
    )
    @service = service
  end

  def service_name
    @service.name.to_s
  end

  def service_uri
    @service.uri
  end

  def attribute(attribute_name)
    @service.attribute(attribute_name)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kuber_kit-0.1.7 lib/kuber_kit/core/context_helper/service_helper.rb
kuber_kit-0.1.6 lib/kuber_kit/core/context_helper/service_helper.rb