Class: Insights::API::Common::System
- Inherits:
-
Object
- Object
- Insights::API::Common::System
- Defined in:
- lib/insights/api/common/system.rb
Instance Method Summary collapse
- #cn ⇒ Object
-
#initialize(identity) ⇒ System
constructor
A new instance of System.
Constructor Details
#initialize(identity) ⇒ System
Returns a new instance of System.
5 6 7 |
# File 'lib/insights/api/common/system.rb', line 5 def initialize(identity) @system = identity.dig("identity", "system") end |
Instance Method Details
#cn ⇒ Object
9 10 11 |
# File 'lib/insights/api/common/system.rb', line 9 def cn system["cn"] end |