Class: ForemanDiscovery::NodeAPI::Power

Inherits:
Object
  • Object
show all
Defined in:
app/services/foreman_discovery/node_api/power.rb

Class Method Summary collapse

Class Method Details

.service(data) ⇒ Object



4
5
6
# File 'app/services/foreman_discovery/node_api/power.rb', line 4

def service(data)
  ForemanDiscovery::NodeAPI::PowerService.new(data)
end