Method: Fog::Compute::Cloudstack::SecurityGroup#save
- Defined in:
- lib/fog/cloudstack/models/compute/security_group.rb
#save ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/fog/cloudstack/models/compute/security_group.rb', line 30 def save requires :name = { 'name' => self.name, 'account' => self.account, 'description' => self.description, 'projectid' => self.project_id, 'domainid' => self.domain_id, } data = service.create_security_group() merge_attributes(data['createsecuritygroupresponse']['securitygroup']) end |