Class: PopulateEnv::Heroku::RemoteConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/populate_env/heroku/remote_config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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)
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



6
7
8
# File 'lib/populate_env/heroku/remote_config.rb', line 6

def options
  @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_flagObject



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