Method: Mrsk::Configuration#master_key

Defined in:
lib/mrsk/configuration.rb

#master_keyObject



117
118
119
120
121
# File 'lib/mrsk/configuration.rb', line 117

def master_key
  unless raw_config.skip_master_key
    ENV["RAILS_MASTER_KEY"] || File.read(Pathname.new(File.expand_path("config/master.key")))
  end
end