Class: Turbo::Key

Inherits:
Object
  • Object
show all
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

.accessObject



15
16
17
# File 'lib/turbo/key.rb', line 15

def self.access
  settings['access_key_id']
end

.configurationObject



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

.secretObject



19
20
21
# File 'lib/turbo/key.rb', line 19

def self.secret
  settings['secret_access_key']
end