Method: JSS::SelfServable#remove_self_service_category
- Defined in:
- lib/jss/api_object/self_servable.rb
#remove_self_service_category(cat) ⇒ void
This method returns an undefined value.
Remove a category from those for this item in SSvc
466 467 468 469 |
# File 'lib/jss/api_object/self_servable.rb', line 466 def remove_self_service_category(cat) @self_service_categories.reject! { |c| c[:name] == cat || c[:id] == cat } @need_to_update = true end |