Method: JSS::Computer#computer_groups

Defined in:
lib/jss/api_object/computer.rb

#computer_groupsArray

Returns the JSS groups to which thismachine belongs (smart and static).

Returns:

  • (Array)

    the JSS groups to which thismachine belongs (smart and static)



874
875
876
# File 'lib/jss/api_object/computer.rb', line 874

def computer_groups
  @groups_accounts[:computer_group_memberships]
end