Method: AwSec::Core#get_groups
- Defined in:
- lib/aw_sec/core.rb
#get_groups(group_names) ⇒ Object
64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/aw_sec/core.rb', line 64 def get_groups(group_names) groups = [] if group_names.is_a? String to_loop = [group_names] else to_loop = group_names end to_loop.each do |group_name| groups << conn.security_groups.get(group_name) end groups end |