Class: BoaVista::Configuration
- Inherits:
-
Object
- Object
- BoaVista::Configuration
- Defined in:
- lib/boa_vista/configuration.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#password ⇒ Object
Returns the value of attribute password.
-
#proxy_pass ⇒ Object
Returns the value of attribute proxy_pass.
-
#proxy_url ⇒ Object
Returns the value of attribute proxy_url.
-
#proxy_user ⇒ Object
Returns the value of attribute proxy_user.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/boa_vista/configuration.rb', line 3 def code @code end |
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/boa_vista/configuration.rb', line 3 def password @password end |
#proxy_pass ⇒ Object
Returns the value of attribute proxy_pass.
3 4 5 |
# File 'lib/boa_vista/configuration.rb', line 3 def proxy_pass @proxy_pass end |
#proxy_url ⇒ Object
Returns the value of attribute proxy_url.
3 4 5 |
# File 'lib/boa_vista/configuration.rb', line 3 def proxy_url @proxy_url end |
#proxy_user ⇒ Object
Returns the value of attribute proxy_user.
3 4 5 |
# File 'lib/boa_vista/configuration.rb', line 3 def proxy_user @proxy_user end |
#timeout ⇒ Object
Returns the value of attribute timeout.
3 4 5 |
# File 'lib/boa_vista/configuration.rb', line 3 def timeout @timeout end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/boa_vista/configuration.rb', line 3 def url @url end |
Instance Method Details
#has_proxy? ⇒ Boolean
5 6 7 |
# File 'lib/boa_vista/configuration.rb', line 5 def has_proxy? !self.proxy_url.nil? end |