Sha256: a78f79f616647fd1bfeda15d26d9a3a616a853a49575f35f501be8d210de49e0

Contents?: true

Size: 296 Bytes

Versions: 8

Compression:

Stored size: 296 Bytes

Contents

object @discovered_host

extends "api/v2/discovered_hosts/base"

attributes :ip, :mac, :last_report, :subnet_id, :subnet_name

if SETTINGS[:organizations_enabled]
  attributes :organization_id, :organization_name
end

if SETTINGS[:locations_enabled]
  attributes :location_id, :location_name
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
foreman_discovery-1.4.1 app/views/api/v2/discovered_hosts/main.json.rabl
foreman_discovery-1.4.0 app/views/api/v2/discovered_hosts/main.json.rabl
foreman_discovery-1.4.0.rc4 app/views/api/v2/discovered_hosts/main.json.rabl
foreman_discovery-1.4.0.rc3 app/views/api/v2/discovered_hosts/main.json.rabl
foreman_discovery-1.4.0.rc2 app/views/api/v2/discovered_hosts/main.json.rabl
foreman_discovery-1.4.0.rc1 app/views/api/v2/discovered_hosts/main.json.rabl
foreman_discovery-1.3.0 app/views/api/v2/discovered_hosts/main.json.rabl
foreman_discovery-1.3.0.rc3 app/views/api/v2/discovered_hosts/main.json.rabl