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.3.4 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.3.3 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.3.2 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.3.1 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.3.0 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.2.9 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.2.8 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.2.7 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.2.6 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.2.5 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.2.4 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.2.3 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.2.2 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.2.1 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.2.0 lib/kuber_kit/core/build_servers/build_server.rb
kuber_kit-0.1.9 lib/kuber_kit/core/build_servers/build_server.rb