Method: NexusAPI::NexusConnection#initialize

Defined in:
lib/nexus_api/nexus_connection.rb

#initialize(username:, password:, hostname:, protocol:) ⇒ NexusConnection

Returns a new instance of NexusConnection.



12
13
14
15
16
17
# File 'lib/nexus_api/nexus_connection.rb', line 12

def initialize(username:, password:, hostname:, protocol:)
  @username = username
  @password = password
  @hostname = hostname
  @protocol = protocol
end