Class: Turbo::Key
- Inherits:
-
Object
- Object
- Turbo::Key
- Defined in:
- lib/turbo/key.rb
Constant Summary collapse
- @@settings =
nil
- @@file =
File.dirname(__FILE__) + "/../../config/aws.yml"
Class Method Summary collapse
Class Method Details
.access ⇒ Object
15 16 17 |
# File 'lib/turbo/key.rb', line 15 def self.access settings['access_key_id'] end |
.configuration ⇒ Object
11 12 13 |
# File 'lib/turbo/key.rb', line 11 def self.configuration @@file end |
.configuration=(location) ⇒ Object
7 8 9 |
# File 'lib/turbo/key.rb', line 7 def self.configuration=(location) @@file = location end |
.secret ⇒ Object
19 20 21 |
# File 'lib/turbo/key.rb', line 19 def self.secret settings['secret_access_key'] end |