PixarAnimationStudios / ruby-jss

ruby-jss provides native ruby access to the REST APIs of Jamf Pro, an enterprise/education tool for managing Apple devices, from jamf.com. The Jamf module provides access to both APIs. Jamf Pro objects are implemented as classes and interact with each other. Authentication tokens, data format and other details are handled under the hood to allow simpler, intuitive automation of Jamf-related tasks.
http://pixaranimationstudios.github.io/jss-api-gem/index.html
Other
98 stars 28 forks source link

Cannot Set Department to Empty #63

Closed cybertunnel closed 3 years ago

cybertunnel commented 4 years ago

While handling the JSS::NetworkSegment object, I am unable to set the department to an empty value since it checks to see if the department exists in the JSS first.

Ideally, if it is nil it should unset the department. Assuming the API allows for this.