Method: Kashi::Client#initialize

Defined in:
lib/kashi/client.rb

#initialize(filepath, options = {}) ⇒ Client

Returns a new instance of Client.



16
17
18
19
20
# File 'lib/kashi/client.rb', line 16

def initialize(filepath, options = {})
  @filepath = filepath
  @options = options
  @options[:secret_expander] = SecretExpander.new(@options[:secret_provider]) if @options[:secret_provider]
end