class Jess::Computer

A Computer record returned from JSS. The data mirrors the structure of the JSS Computer JSON representation, with sections for general, hardware, extension attributes, etc.

Public Instance Methods

extension_attributes() click to toggle source
# File lib/jess/computer.rb, line 11
def extension_attributes
  @ext_attrs ||= ExtensionAttributes.new(_json["extension_attributes"])
end
inspect() click to toggle source
# File lib/jess/computer.rb, line 15
def inspect
  "Jess::Computer<##{id}, #{name}>"
end
Also aliased as: to_s
to_s()
Alias for: inspect