lib/jss/api_object/locatable.rb
def location
      {
        :building => @building,
        :department => @department,
        :email_address => @email_address,
        :phone => @phone,
        :position => @position,
        :real_name => @real_name,
        :room => @room,
        :username => @username
      }
    end
###
### 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.
###
### @return [Hash<String>] the location data
###
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.
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 .
def location
      {
        :building => @building,
        :department => @department,
        :email_address => @email_address,
        :phone => @phone,
        :position => @position,
        :real_name => @real_name,
        :room => @room,
        :username => @username
      }
    end
def location { :building => @building , :department => @department , :email_address => @email_address , :phone => @phone , :position => @position , :real_name => @real_name , :room => @room , :username => @username } end
All the location data in a Hash, as it comes from the API.
All the location data in a Hash as it comes from the API .
the location data
the location data
Hash<String>