Revision 79cb5cc0
Added by Ohad Levy almost 12 years ago
- ID 79cb5cc0a019c4757a90b4e69d3264a30f7f54d1
app/models/host.rb | ||
---|---|---|
end
|
||
end
|
||
|
||
def as_json(options={})
|
||
super(:methods => [:host_parameters])
|
||
end
|
||
|
||
private
|
||
# align common mac and ip address input
|
||
def normalize_addresses
|
Also available in: Unified diff
fixes #1115 Host parameters are not available via the API