Class: Chapp::AppInstance

Inherits:
Object
  • Object
show all
Defined in:
lib/chapp/app_instance.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (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

#fqdnObject (readonly)

Returns the value of attribute fqdn.



8
9
10
# File 'lib/chapp/app_instance.rb', line 8

def fqdn
  @fqdn
end

#node_nameObject (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