Method: Atom::Tools#setup_http
- Defined in:
- lib/atom/tools.rb
#setup_http(http, options) ⇒ Object
152 153 154 155 156 157 158 159 160 161 162 |
# File 'lib/atom/tools.rb', line 152 def setup_http http, if [:user] http.user = [:user] unless [:pass] [:pass] = obtain_password end http.pass = [:pass] end end |