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.5.2 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.5.1 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.5.0 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.4.9 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.4.8 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.4.7 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.4.6 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.4.5 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.4.4 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.4.3 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.4.2 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.4.1 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.4.0 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.3.11 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.3.10 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.3.9 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.3.8 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.3.7 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.3.6 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.3.5 lib/kuber_kit/core/build_servers/build_server.rb