Sha256: 3c5114786277cc7ca4e70123edde488e26c16ed44907f7d78c8609b160c4ed9e

Contents?: true

Size: 249 Bytes

Versions: 3

Compression:

Stored size: 249 Bytes

Contents

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lifen-1.0.2 lib/lifen/configuration.rb
lifen-1.0.1 lib/lifen/configuration.rb
lifen-1.0.0 lib/lifen/configuration.rb