Sha256: 1c9eebc44977ddf69a7b626e822534fa11fb6bf8cd3bdaea2881807685609f2e

Contents?: true

Size: 285 Bytes

Versions: 10

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true
require 'hako/container'

module Hako
  class AppContainer < Container
    # @return [String]
    def image_tag
      "#{@definition['image']}:#{@definition['tag']}"
    end

    # @return [Fixnum]
    def port
      @definition['port']
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hako-0.17.2 lib/hako/app_container.rb
hako-0.17.1 lib/hako/app_container.rb
hako-0.17.0 lib/hako/app_container.rb
hako-0.16.0 lib/hako/app_container.rb
hako-0.15.3 lib/hako/app_container.rb
hako-0.15.2 lib/hako/app_container.rb
hako-0.15.1 lib/hako/app_container.rb
hako-0.15.0 lib/hako/app_container.rb
hako-0.14.1 lib/hako/app_container.rb
hako-0.14.0 lib/hako/app_container.rb