Class: SecurityGroupXgressParser

Inherits:
Object
  • Object
show all
Defined in:
lib/model/security_group_parser.rb

Instance Method Summary collapse

Instance Method Details

#parse(resource_name, resource_json) ⇒ Object



51
52
53
54
55
56
57
58
# File 'lib/model/security_group_parser.rb', line 51

def parse(resource_name, resource_json)
  xgress = {}
  xgress['logical_resource_id'] = resource_name
  resource_json['Properties'].each_pair do |key, value|
    xgress[key] = value
  end
  xgress
end