module NlGasStations
Find fuel prices for many gas stations in The Netherlands. This gem reads the prices from www.brandstofprijzen.info.
Constants
- ROOT_URL
- VERSION
Public Class Methods
configuration()
click to toggle source
Return the configuration.
# File lib/nl_gas_stations.rb, line 11 def self.configuration @configuration ||= Configuration.new end
configure() { |configuration| ... }
click to toggle source
Set the configuration
# File lib/nl_gas_stations.rb, line 17 def self.configure yield(configuration) if block_given? end
reset()
click to toggle source
Reset the configuration to the default values.
# File lib/nl_gas_stations.rb, line 23 def self.reset @configuration = Configuration.new end