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.
137 138 139 140 141 142 143 144 145 146 147 148 |
# File 'lib/jamf/api/classic/api_objects/locatable.rb', line 137 def location { building: @building, department: @department, email_address: @email_address, phone: @phone, position: @position, real_name: @real_name, room: @room, username: @username } end |