Class: Slugforge::HostnameHost

Inherits:
Host
  • Object
show all
Defined in:
lib/slugforge/models/host/hostname_host.rb

Instance Attribute Summary

Attributes inherited from Host

#pattern, #server, #slug_name, #status

Instance Method Summary collapse

Methods inherited from Host

#add_action, #complete?, #deploy, #effective_action, #elapsed_time, #failed?, #has_action?, #id, #initialize, #install?, #ip, #is_autoscaled?, #output, #record_event, #remove_action, #ssh_host, #stage?, #success?, #terminated?, #timeline, #to_status

Constructor Details

This class inherits a constructor from Slugforge::Host

Instance Method Details

#nameObject



5
6
7
# File 'lib/slugforge/models/host/hostname_host.rb', line 5

def name
  "hostname:#{@pattern}"
end