Method: Jamf::Categorizable#unset_category

Defined in:
lib/jamf/api/classic/api_objects/categorizable.rb

#unset_categoryvoid

This method returns an undefined value.

Set the category to nothing



175
176
177
178
179
180
181
# File 'lib/jamf/api/classic/api_objects/categorizable.rb', line 175

def unset_category
  # no change, go home
  return nil if @category_name.nil?
  @category_name = nil
  @category_id = nil
  @need_to_update = true
end