class Insights::API::Common::System

Attributes

system[R]

Public Class Methods

new(identity) click to toggle source
# File lib/insights/api/common/system.rb, line 5
def initialize(identity)
  @system = identity.dig("identity", "system")
end

Public Instance Methods

cn() click to toggle source
# File lib/insights/api/common/system.rb, line 9
def cn
  system["cn"]
end