Method: AwSec::Core#list_ips
- Defined in:
- lib/aw_sec/core.rb
#list_ips(group) ⇒ Object
51 52 53 54 55 56 57 58 |
# File 'lib/aw_sec/core.rb', line 51 def list_ips(group) result = [] group..detect do || result << ['ipRanges'].collect{ |i| i["cidrIp"] } if ["toPort"] == port end result.flatten! end |