Method: Jamf::Locatable#location
- Defined in:
- lib/jamf/api/classic/api_objects/locatable.rb
#location ⇒ Hash<String>
All the location data in a Hash, as it comes from the API.
The reason it isn’t stored this way is to prevent editing of the hash directly.
119 120 121 122 123 124 125 126 127 128 129 130 |
# File 'lib/jamf/api/classic/api_objects/locatable.rb', line 119 def location { building: @building, department: @department, email_address: @email_address, phone: @phone, position: @position, real_name: @real_name, room: @room, username: @username } end |