Method: Claws::EC2::Presenter#security_groups
- Defined in:
- lib/claws/presenter/ec2.rb
#security_groups ⇒ Object
28 29 30 |
# File 'lib/claws/presenter/ec2.rb', line 28 def security_groups @ec2.try(:security_groups) ? @ec2.security_groups.map {|sg| "#{sg.id}: #{sg.name}"}.join(', ') : 'N/A' end |