Class: Proxy::Omaha::ForemanClient
- Inherits:
-
HttpRequest::ForemanRequest
- Object
- HttpRequest::ForemanRequest
- Proxy::Omaha::ForemanClient
- Defined in:
- lib/smart_proxy_omaha/foreman_client.rb
Instance Method Summary collapse
Instance Method Details
#post_facts(factsdata) ⇒ Object
3 4 5 |
# File 'lib/smart_proxy_omaha/foreman_client.rb', line 3 def post_facts(factsdata) send_request(request_factory.create_post('api/hosts/facts', factsdata)) end |
#post_report(report) ⇒ Object
7 8 9 |
# File 'lib/smart_proxy_omaha/foreman_client.rb', line 7 def post_report(report) send_request(request_factory.create_post('api/omaha_reports', report)) end |