Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (18 sloc) 361 Bytes

Secret Key

Provides an accessor for a secret key stored in tmp.

Compatibility

Tested with Ruby 1.8.6, 1.8.7, and 1.9.1.

Setup

sudo gem install secret_key --source http://gemcutter.org

Usage

require 'rubygems'
require 'secret_key'
key = SecretKey.new(File.dirname(__FILE__)).read
Jump to Line
Something went wrong with that request. Please try again.