Sha256: f2a8319f5f1f8816c30ea2ec94fc1e90c43c593b2ec9b9cc5b8d242c753684a9
Contents?: true
Size: 765 Bytes
Versions: 2
Compression:
Stored size: 765 Bytes
Contents
require 'chamber/context_resolver' module Chamber class Configuration attr_accessor :basepath, :decryption_key, :encryption_key, :files, :namespaces def initialize(options = {}) options = ContextResolver.resolve(options) self.basepath = options[:basepath] self.namespaces = options[:namespaces] self.decryption_key = options[:decryption_key] self.encryption_key = options[:encryption_key] self.files = options[:files] end def to_hash { basepath: basepath, decryption_key: decryption_key, encryption_key: encryption_key, files: files, namespaces: namespaces, } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chamber-2.8.0 | lib/chamber/configuration.rb |
chamber-2.7.1 | lib/chamber/configuration.rb |