Sha256: 5eb4a1cc534f918a949ac6add882ce73bbe9072630a079942f9610b362d8814b

Contents?: true

Size: 314 Bytes

Versions: 3

Compression:

Stored size: 314 Bytes

Contents

require 'active_support/configurable'

module SbifRails
  def self.configure
    yield @config ||= SbifRails::Configuration.new
  end

  def self.config
    @config ||= SbifRails::Configuration.new
  end

  class Configuration
    include ActiveSupport::Configurable

    config_accessor(:api_key) { '' }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sbif-rails-1.2.0 lib/sbif-rails/config.rb
sbif-rails-1.0.5 lib/sbif-rails/config.rb
sbif-rails-1.0.4 lib/sbif-rails/config.rb