class Telleroo::Configuration

Configuration.

Allows this: Telleroo.configure do |config|

config.authorization_token = 'deadbeef'
config.endpoint = 'https://sandbox.telleroo.com'
config.http_adapter = :typhoeus

end

Constants

VALID_CONFIG_KEYS

Public Instance Methods

options() click to toggle source

Return the configuration values set in this module

# File lib/telleroo/configuration.rb, line 29
def options
  Hash[
    *Configuration::VALID_CONFIG_KEYS.map { |key| [key, send(key)] }.flatten
  ]
end