Class: Auth

Inherits:
Object
  • Object
show all
Defined in:
lib/syncassets_r3.rb

Class Method Summary collapse

Class Method Details

.envObject



8
9
10
# File 'lib/syncassets_r3.rb', line 8

def self.env
  rails_env = Rails.env
end

.rootObject



4
5
6
7
# File 'lib/syncassets_r3.rb', line 4

def self.root
  rails_root = Rails.root
  YAML::load(IO.read(File.join(rails_root, 'config', 'aws.yml')))
end