Class: Chapp::AppInstance
- Inherits:
-
Object
- Object
- Chapp::AppInstance
- Defined in:
- lib/chapp/app_instance.rb
Instance Attribute Summary collapse
-
#app_name ⇒ Object
readonly
Returns the value of attribute app_name.
-
#fqdn ⇒ Object
readonly
Returns the value of attribute fqdn.
-
#node_name ⇒ Object
readonly
Returns the value of attribute node_name.
Instance Method Summary collapse
-
#initialize(app_name, node_name, fqdn) ⇒ AppInstance
constructor
A new instance of AppInstance.
Constructor Details
#initialize(app_name, node_name, fqdn) ⇒ AppInstance
Returns a new instance of AppInstance.
10 11 12 13 14 |
# File 'lib/chapp/app_instance.rb', line 10 def initialize app_name, node_name, fqdn @app_name = app_name @node_name = node_name @fqdn = fqdn end |
Instance Attribute Details
#app_name ⇒ Object (readonly)
Returns the value of attribute app_name.
6 7 8 |
# File 'lib/chapp/app_instance.rb', line 6 def app_name @app_name end |
#fqdn ⇒ Object (readonly)
Returns the value of attribute fqdn.
8 9 10 |
# File 'lib/chapp/app_instance.rb', line 8 def fqdn @fqdn end |
#node_name ⇒ Object (readonly)
Returns the value of attribute node_name.
7 8 9 |
# File 'lib/chapp/app_instance.rb', line 7 def node_name @node_name end |