Method: JSS::SelfServable#self_service_categories

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

#self_service_categoriesArray<Hash> (readonly)

Each Hash has these keys about the category

  • :id => [Integer] the JSS id of the category

  • :name => [String] the name of the category

Most objects also include one or both of these keys:

  • :display_in => [Boolean] should the item be displayed in this category in SSvc? (not MobDevConfProfiles)

  • :feature_in => [Boolean] should the item be featured in this category in SSVC? (macOS targets only)

Returns:

  • (Array<Hash>)

    The categories in which this item should appear in SSvc


269
270
271
# File 'lib/jss/api_object/self_servable.rb', line 269

def self_service_categories
  @self_service_categories
end