Module: Millennium::Config

Extended by:
Config
Included in:
Config
Defined in:
lib/millennium/config.rb

Overview

lib/millennium/config.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#hostObject

Returns the value of attribute host.



9
10
11
# File 'lib/millennium/config.rb', line 9

def host
  @host
end

#passObject

Returns the value of attribute pass.



8
9
10
# File 'lib/millennium/config.rb', line 8

def pass
  @pass
end

#portObject

Returns the value of attribute port.



10
11
12
# File 'lib/millennium/config.rb', line 10

def port
  @port
end

#userObject

Returns the value of attribute user.



7
8
9
# File 'lib/millennium/config.rb', line 7

def user
  @user
end

Class Method Details

.optionsObject



12
13
14
15
16
17
18
# File 'lib/millennium/config.rb', line 12

def self.options
  {
    userpwd: "#{user}:#{pass}",
    httpauth: :ntlm,
    verbose: true
  }
end