lib/jamf/api/connection.rb
# raise exception if API version is too low.
raise exception if API version is too low.
raise exception if API version is too low .
def validate_jamf_version
      vers = jamf_version
      return if Gem::Version.new(vers) >= MIN_JAMF_VERSION
      raise Jamf::InvalidConnectionError, "API version '#{vers}' too low, must be >= '#{MIN_JAMF_VERSION}'"
    end
def validate_jamf_version vers = jamf_version return if Gem :: Version . new ( vers ) >= MIN_JAMF_VERSION raise Jamf :: InvalidConnectionError , "API version '#{vers}' too low, must be >= '#{MIN_JAMF_VERSION}'" end
raise exception if API version is too low.
raise exception if API version is too low .