Sha256: 679f55f71e3878a1598318b47e877704f268b624fe4ceaa3d9a85ccbd9aabd29
Contents?: true
Size: 523 Bytes
Versions: 23
Compression:
Stored size: 523 Bytes
Contents
require "forwardable" module Jess # 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. class Computer < Resource extend Forwardable def_delegators :general, :id, :name def extension_attributes @ext_attrs ||= ExtensionAttributes.new(_json["extension_attributes"]) end def inspect "Jess::Computer<##{id}, #{name}>" end alias to_s inspect end end
Version data entries
23 entries across 23 versions & 1 rubygems