Sha256: 6e5d3a0b33f313fc521a913f4aa55f39bc0e30e2eab768b0ab1a8393ed749fc0

Contents?: true

Size: 536 Bytes

Versions: 96

Compression:

Stored size: 536 Bytes

Contents

class KuberKit::Core::BuildServers::BuildServer < KuberKit::Core::BuildServers::AbstractBuildServer
  def setup(host:, user:, port:)
    @host = host
    @user = user
    @port = port

    self
  end

  def host
    raise ArgumentError, "host is not set, please use #setup method" if @host.nil?
    @host
  end

  def user
    raise ArgumentError, "user is not set, please use #setup method" if @user.nil?
    @user
  end

  def port
    raise ArgumentError, "port is not set, please use #setup method" if @port.nil?
    @port
  end
end

Version data entries

96 entries across 96 versions & 1 rubygems

Version Path
kuber_kit-1.1.2 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-1.2.1 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-1.2.0 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-1.1.1 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-1.0.1 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-1.0.0 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.9.9 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.9.8 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.9.7 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.9.6 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.9.5 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.9.4 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.9.3 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.9.2 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.9.1 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.9.0 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.8.8 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.8.7 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.8.6 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.8.5 lib/kuber_kit/core/build_servers/build_server.rb