Sha256: 64cd8ce972cd367cd9991cbad78f2f21b79e0db0a8088c45ebf5a3b7877e7c4c

Contents?: true

Size: 703 Bytes

Versions: 8

Compression:

Stored size: 703 Bytes

Contents

require_relative 'barometer/version'
require_relative 'barometer/utils'
require_relative 'barometer/base'
require_relative 'barometer/query'
require_relative 'barometer/weather'
require_relative 'barometer/data'
require_relative 'barometer/response'
require_relative 'barometer/weather_service'

module Barometer
  @@config = { 1 => {wunderground: {version: :v1}} }
  def self.config; @@config; end;
  def self.config=(hash); @@config = hash; end;

  @@timeout = 15
  def self.timeout; @@timeout; end;
  def self.timeout=(value); @@timeout = value; end;

  def self.new(*args)
    Barometer::Base.new(*args)
  end

  class OutOfSources < StandardError; end
  class TimeoutError < StandardError; end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
barometer-0.9.7 lib/barometer.rb
barometer-0.9.6 lib/barometer.rb
barometer-0.9.5 lib/barometer.rb
barometer-0.9.4 lib/barometer.rb
barometer-0.9.3 lib/barometer.rb
barometer-0.9.2 lib/barometer.rb
barometer-0.9.1 lib/barometer.rb
barometer-0.9.0 lib/barometer.rb