Class: Fog::Compute::OracleCloud::SecurityIpList
- Inherits:
-
Model
- Object
- Model
- Fog::Compute::OracleCloud::SecurityIpList
- Defined in:
- lib/fog/oraclecloud/models/compute/security_ip_list.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
18 19 20 21 22 23 |
# File 'lib/fog/oraclecloud/models/compute/security_ip_list.rb', line 18 def create requires :name, :secipentries data = service.create_security_ip_list(name, description, secipentries) merge_attributes(data.body) end |
#save ⇒ Object
13 14 15 16 |
# File 'lib/fog/oraclecloud/models/compute/security_ip_list.rb', line 13 def save #identity ? update : create create end |