Method: Tibber::API#config
- Defined in:
- lib/tibber/api.rb
#config ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/tibber/api.rb', line 19 def config conf = {} WrAPI::Configuration::VALID_OPTIONS_KEYS.each do |key| conf[key] = send key end conf end |