Sha256: e7b3832ab593d77f848cd10d298e5443c6649d12247172d4df3164fd248a946b

Contents?: true

Size: 166 Bytes

Versions: 2

Compression:

Stored size: 166 Bytes

Contents

class Configuration
  attr_accessor :units, :api_key, :source

  def initialize
    @units = {}
    @api_key = ENV['STORMGLASS_API_KEY']
    @source = 'sg'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stormglass-0.2.0 lib/stormglass/configuration.rb
stormglass-0.1.1 lib/stormglass/configuration.rb