Class: Wes::Cloudkit::Configuration
- Inherits:
-
Object
- Object
- Wes::Cloudkit::Configuration
- Defined in:
- lib/wes/cloudkit/configuration.rb
Class Attribute Summary collapse
-
.namespace ⇒ Object
Returns the value of attribute namespace.
-
.root ⇒ Object
Returns the value of attribute root.
Class Method Summary collapse
Class Attribute Details
.namespace ⇒ Object
Returns the value of attribute namespace.
7 8 9 |
# File 'lib/wes/cloudkit/configuration.rb', line 7 def namespace @namespace end |
.root ⇒ Object
Returns the value of attribute root.
7 8 9 |
# File 'lib/wes/cloudkit/configuration.rb', line 7 def root @root end |
Class Method Details
.app_config ⇒ Object
9 10 11 |
# File 'lib/wes/cloudkit/configuration.rb', line 9 def app_config @@app_config = AppConfig.new end |
.aws_env ⇒ Object
13 14 15 |
# File 'lib/wes/cloudkit/configuration.rb', line 13 def aws_env ENV["AWS_ENV"] || "development" end |
.configure {|_self| ... } ⇒ Object
17 18 19 20 |
# File 'lib/wes/cloudkit/configuration.rb', line 17 def configure(&block) yield self self end |
.env ⇒ Object
22 23 24 |
# File 'lib/wes/cloudkit/configuration.rb', line 22 def env ENV["RACK_ENV"] || "development" end |