Sha256: 7d9e051ca9bd52ea9e9f14c7ea3d44adb67cbd5e7972436ffe90a8005f308276

Contents?: true

Size: 235 Bytes

Versions: 7

Compression:

Stored size: 235 Bytes

Contents

module Lifen
  class Configuration
    attr_accessor :site, :secret_key, :proxy_url
  end

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.configure
    yield(configuration) if block_given?
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
lifen-0.2.1 lib/lifen/configuration.rb
lifen-0.2.0 lib/lifen/configuration.rb
lifen-0.1.5 lib/lifen/configuration.rb
lifen-0.1.4 lib/lifen/configuration.rb
lifen-0.1.3 lib/lifen/configuration.rb
lifen-0.1.2 lib/lifen/configuration.rb
lifen-0.1.1 lib/lifen/configuration.rb