Sha256: a91d02f138f0de35da00b2b3733d8838e0e248abd4f85b835b67ad9683335a8e
Contents?: true
Size: 624 Bytes
Versions: 4
Compression:
Stored size: 624 Bytes
Contents
require 'fog/huaweicloud/models/model' module Fog module Introspection class HuaweiCloud class Rules < Fog::HuaweiCloud::Model identity :uuid attribute :description attribute :actions attribute :conditions attribute :links def create requires :actions, :conditions attributes[:description] = description || "" merge_attributes(service.create_rules(attributes).body) self end def destroy requires :uuid service.delete_rules(uuid) true end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems