Class: Viadeo::Configuration

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#loggerObject

Returns the value of attribute logger.



7
8
9
# File 'lib/viadeo/configuration.rb', line 7

def logger
  @logger
end

#open_timeoutObject

Returns the value of attribute open_timeout.



7
8
9
# File 'lib/viadeo/configuration.rb', line 7

def open_timeout
  @open_timeout
end

#timeoutObject

Returns the value of attribute timeout.



7
8
9
# File 'lib/viadeo/configuration.rb', line 7

def timeout
  @timeout
end

#urlObject

Returns the value of attribute url.



7
8
9
# File 'lib/viadeo/configuration.rb', line 7

def url
  @url
end