Class: Viadeo::Configuration
- Inherits:
-
Object
- Object
- Viadeo::Configuration
- Includes:
- Singleton
- Defined in:
- lib/viadeo/configuration.rb
Constant Summary collapse
- DEFAULT_CONFIG =
{timeout: 30, open_timeout: 30, url: 'https://api.viadeo.com'}
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#open_timeout ⇒ Object
Returns the value of attribute open_timeout.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
7 8 9 |
# File 'lib/viadeo/configuration.rb', line 7 def logger @logger end |
#open_timeout ⇒ Object
Returns the value of attribute open_timeout.
7 8 9 |
# File 'lib/viadeo/configuration.rb', line 7 def open_timeout @open_timeout end |
#timeout ⇒ Object
Returns the value of attribute timeout.
7 8 9 |
# File 'lib/viadeo/configuration.rb', line 7 def timeout @timeout end |
#url ⇒ Object
Returns the value of attribute url.
7 8 9 |
# File 'lib/viadeo/configuration.rb', line 7 def url @url end |