Class: PopulateEnv::Heroku::RemoteConfig
- Inherits:
-
Object
- Object
- PopulateEnv::Heroku::RemoteConfig
- Defined in:
- lib/populate_env/heroku/remote_config.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #[](name) ⇒ Object
- #heroku_app_flag ⇒ Object
-
#initialize(options) ⇒ RemoteConfig
constructor
A new instance of RemoteConfig.
Constructor Details
#initialize(options) ⇒ RemoteConfig
Returns a new instance of RemoteConfig.
8 9 10 |
# File 'lib/populate_env/heroku/remote_config.rb', line 8 def initialize() @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/populate_env/heroku/remote_config.rb', line 6 def @options end |
Instance Method Details
#[](name) ⇒ Object
12 13 14 |
# File 'lib/populate_env/heroku/remote_config.rb', line 12 def [](name) data[name] end |
#heroku_app_flag ⇒ Object
16 17 18 |
# File 'lib/populate_env/heroku/remote_config.rb', line 16 def heroku_app_flag @heroku_app_flag ||= determine_heroku_app_flag! end |