Sha256: 9a7abe5d4ad619a25b63e8a7e8e7d74a23140dbcad8134000a92a9786553178b
Contents?: true
Size: 809 Bytes
Versions: 2
Compression:
Stored size: 809 Bytes
Contents
module HammerCLIForemanOpenscap module ResolverCommons def self.included(base) base.extend(ClassMethods) end module ClassMethods def resolver api = HammerCLI::Connection.get("foreman").api HammerCLIForeman::IdResolver.new(api, HammerCLIForemanOpenscap::Searchables.new) end def searchables @searchables ||= HammerCLIForemanOpenscap::Searchables.new @searchables end end end class UpdateCommand < HammerCLIForeman::UpdateCommand include HammerCLIForemanOpenscap::ResolverCommons end class InfoCommand < HammerCLIForeman::InfoCommand include HammerCLIForemanOpenscap::ResolverCommons end class CreateCommand < HammerCLIForeman::CreateCommand include HammerCLIForemanOpenscap::ResolverCommons end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hammer_cli_foreman_openscap-0.1.1 | lib/hammer_cli_foreman_openscap/commands.rb |
hammer_cli_foreman_openscap-0.1.0 | lib/hammer_cli_foreman_openscap/commands.rb |