Sha256: 23e2d3a1d12b5b25598c22ceb0553ed4d2fe22ab3e06e555eb25ea11b9652e66

Contents?: true

Size: 313 Bytes

Versions: 3

Compression:

Stored size: 313 Bytes

Contents

module KF5
  class Configuration
    attr_reader :properties
    attr_accessor :key, :domain, :remember_me

    def initialize(options = {})
      options.each { |key, value| 
        instance_variable_set("@#{key}", value)
      }
      @properties = Properties.new(options[:properties] || {})
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kf5-0.4.0 lib/kf5/configuration.rb
kf5-0.3.3 lib/kf5/configuration.rb
kf5-0.3.2 lib/kf5/configuration.rb