Module: Millennium::Config
Overview
lib/millennium/config.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#pass ⇒ Object
Returns the value of attribute pass.
-
#port ⇒ Object
Returns the value of attribute port.
-
#user ⇒ Object
Returns the value of attribute user.
Class Method Summary collapse
Instance Attribute Details
#host ⇒ Object
Returns the value of attribute host.
9 10 11 |
# File 'lib/millennium/config.rb', line 9 def host @host end |
#pass ⇒ Object
Returns the value of attribute pass.
8 9 10 |
# File 'lib/millennium/config.rb', line 8 def pass @pass end |
#port ⇒ Object
Returns the value of attribute port.
10 11 12 |
# File 'lib/millennium/config.rb', line 10 def port @port end |
#user ⇒ Object
Returns the value of attribute user.
7 8 9 |
# File 'lib/millennium/config.rb', line 7 def user @user end |
Class Method Details
.options ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/millennium/config.rb', line 12 def self. { userpwd: "#{user}:#{pass}", httpauth: :ntlm, verbose: true } end |