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