Sha256: 80e73f1b8fef0a6154822f0ac2d2e2ec5050e3c9c9d88d76d2f11abd949c70ad

Contents?: true

Size: 228 Bytes

Versions: 4

Compression:

Stored size: 228 Bytes

Contents

module Alphavantage
  class << self
    def configuration
      @configuration ||= Configuration.new
    end

    def configure
      yield(configuration)
    end
  end

  class Configuration
    attr_accessor :api_key
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alphavantage-1.2.0 lib/alphavantage/configuration.rb
alphavantage-1.1.0 lib/alphavantage/configuration.rb
alphavantage-1.0.2 lib/alphavantage/configuration.rb
alphavantage-1.0.1 lib/alphavantage/configuration.rb