Class: EySecrets::Instance
- Inherits:
-
Struct
- Object
- Struct
- EySecrets::Instance
- Defined in:
- lib/ey_secrets/models/instance.rb
Instance Attribute Summary collapse
-
#app_name ⇒ Object
Returns the value of attribute app_name.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#host_name ⇒ Object
Returns the value of attribute host_name.
-
#user_name ⇒ Object
Returns the value of attribute user_name.
Instance Method Summary collapse
Instance Attribute Details
#app_name ⇒ Object
Returns the value of attribute app_name
4 5 6 |
# File 'lib/ey_secrets/models/instance.rb', line 4 def app_name @app_name end |
#environment ⇒ Object
Returns the value of attribute environment.
5 6 7 |
# File 'lib/ey_secrets/models/instance.rb', line 5 def environment @environment end |
#host_name ⇒ Object
Returns the value of attribute host_name
4 5 6 |
# File 'lib/ey_secrets/models/instance.rb', line 4 def host_name @host_name end |
#user_name ⇒ Object
Returns the value of attribute user_name
4 5 6 |
# File 'lib/ey_secrets/models/instance.rb', line 4 def user_name @user_name end |
Instance Method Details
#current_app_dir ⇒ Object
11 12 13 |
# File 'lib/ey_secrets/models/instance.rb', line 11 def current_app_dir "/data/#{app_name}/current/" end |
#shared_config_dir ⇒ Object
7 8 9 |
# File 'lib/ey_secrets/models/instance.rb', line 7 def shared_config_dir "/data/#{app_name}/shared/config" end |