Sha256: 7cedd8947f757d3b2d113056e6611d9046e72d09ace8a06dd57376cdb0ff57e2
Contents?: true
Size: 534 Bytes
Versions: 2
Compression:
Stored size: 534 Bytes
Contents
require 'fog/core/model' module Fog module Compute class OracleCloud class SecurityIpList < Fog::Model identity :name attribute :description attribute :uri attribute :secipentries def save #identity ? update : create create end def create requires :name, :secipentries data = service.create_security_ip_list(name, description, secipentries) merge_attributes(data.body) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-oraclecloud-0.1.17 | lib/fog/oraclecloud/models/compute/security_ip_list.rb |
fog-oraclecloud-0.1.16 | lib/fog/oraclecloud/models/compute/security_ip_list.rb |