Sha256: d3a2a92b7951b23812e55d42f3870be49e19141d454cac3dfaa61c55fcf44b6b
Contents?: true
Size: 661 Bytes
Versions: 16
Compression:
Stored size: 661 Bytes
Contents
module Katello class Hypervisor < System validates_lengths_from_database UNSUPPORTED_ACTIONS = [:package_profile, :pulp_facts, :simple_packages, :errata, :del_pulp_consumer, :set_pulp_consumer, :update_pulp_consumer, :upload_package_profile, :install_package, :uninstall_package, :update_package, :install_package_group, :uninstall_package_group] UNSUPPORTED_ACTIONS.each do |unsupported_action| define_method(unsupported_action) do fail Errors::UnsupportedActionException.new(unsupported_action, self, _("Hypervisor does not support this action")) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems