Sha256: 5d5553dc21ab4c54a62145a35608c0c3e54bfdef1ba2857f38e2450e6fa6c1f3
Contents?: true
Size: 365 Bytes
Versions: 3
Compression:
Stored size: 365 Bytes
Contents
module Credentials FILE = File.expand_path("../credentials.yml", __FILE__) def self.all YAML.load_file(FILE) if File.exist?(FILE) end module Keys def credentials @test_keys ||= Credentials.all[mode] end end module Test def mode "test" end end module Production def mode "production" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fex-0.0.3 | spec/support/credentials.rb |
fex-0.0.2 | spec/support/credentials.rb |
fex-0.0.1 | spec/support/credentials.rb |