Sha256: c0e2220c2333ddf4597eff7c5214acd3ebbec0610762d59ba88172dd92749fbc
Contents?: true
Size: 618 Bytes
Versions: 22
Compression:
Stored size: 618 Bytes
Contents
require 'fog/openstack/models/model' module Fog module OpenStack class Introspection class Rules < Fog::OpenStack::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
22 entries across 22 versions & 3 rubygems