Class: ActiveStash::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/active_stash.rb

Instance Method Summary collapse

Instance Method Details

#to_client_optsObject



25
26
27
28
29
30
# File 'lib/active_stash.rb', line 25

def to_client_opts
  self.instance_values
    .map { |key, value| [key.to_s.camelize(:lower).to_sym, value] }
    .to_h
    .compact
end