Class: ForemanScapClient::Client
- Inherits:
-
Object
- Object
- ForemanScapClient::Client
- Defined in:
- lib/foreman_scap_client/client.rb
Instance Method Summary collapse
Instance Method Details
#run(policy_id) ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/foreman_scap_client/client.rb', line 11 def run(policy_id) @policy_id = policy_id Dir.mktmpdir do |dir| @tmp_dir = dir scan bzip upload end end |