Class: EasyType::InControl
- Inherits:
-
PuppetService
- Object
- PuppetService
- EasyType::InControl
- Defined in:
- lib/easy_type/in_control.rb
Instance Method Summary collapse
-
#initialize ⇒ InControl
constructor
A new instance of InControl.
- #results(data) ⇒ Object
Methods inherited from PuppetService
Constructor Details
#initialize ⇒ InControl
Returns a new instance of InControl.
6 7 8 9 10 11 |
# File 'lib/easy_type/in_control.rb', line 6 def initialize super port = 444 prefix = '/compliance_reports' @base_url = "https://#{@server}:#{port}#{prefix}" end |
Instance Method Details
#results(data) ⇒ Object
13 14 15 |
# File 'lib/easy_type/in_control.rb', line 13 def results(data) post('',data) end |