Method: Jamf::Connection::Attributes#port

Defined in:
lib/jamf/api/connection/attributes.rb

#portInteger

Returns The port of the Jamf Pro server API connection.

Returns:

  • (Integer)

    The port of the Jamf Pro server API connection



142
143
144
145
# File 'lib/jamf/api/connection/attributes.rb', line 142

def port
  validate_token
  @token.port
end