Class: Auth
- Inherits:
-
Object
- Object
- Auth
- Defined in:
- lib/syncassets_r3.rb
Class Method Summary collapse
Class Method Details
.env ⇒ Object
8 9 10 |
# File 'lib/syncassets_r3.rb', line 8 def self.env rails_env = Rails.env end |
.root ⇒ Object
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 |