Class: Fog::Compute::AWS::Server
- Inherits:
-
Object
- Object
- Fog::Compute::AWS::Server
- Defined in:
- lib/capify-ec2/server.rb
Instance Method Summary collapse
Instance Method Details
#contact_point ⇒ Object
8 9 10 |
# File 'lib/capify-ec2/server.rb', line 8 def contact_point dns_name || public_ip_address || private_ip_address end |
#name ⇒ Object
12 13 14 |
# File 'lib/capify-ec2/server.rb', line 12 def name ["Name"] || id end |