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-0.8.4 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.8.3 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.8.2 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.8.1 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.8.0 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.7.1 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.7.0 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.6.4 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.6.3 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.6.2 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.6.1 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.6.0 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.5.10 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.5.9 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.5.8 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.5.7 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.5.6 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.5.5 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.5.4 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.5.3 lib/kuber_kit/core/build_servers/build_server.rb