lib/jss/api_object/distribution_point.rb
def reachable_for_upload?(pw)
      return :mountable if mounted?
      return false unless check_pw :rw, pw

      begin
        mount pw, :rw
        :mountable
      rescue
        false
      ensure
        unmount
      end
    end
# Check to see if this dist point is reachable for uploads (read-write)
# via filesharing.
#
# @param pw[String] the read-write password to use for checking the connection
#
# @return [FalseClass, Symbol] false if not reachable, otherwise :mountable
#
Check to see if this dist point is reachable for uploads (read-write)
via filesharing.
Check to see if this dist point is reachable for uploads ( read - write ) via filesharing .
def reachable_for_upload?(pw)
      return :mountable if mounted?
      return false unless check_pw :rw, pw
      begin
        mount pw, :rw
        :mountable
      rescue
        false
      ensure
        unmount
      end
    end
def reachable_for_upload? ( pw ) return :mountable if mounted? return false unless check_pw :rw , pw begin mount pw , :rw :mountable rescue false ensure unmount end end
Check to see if this dist point is reachable for uploads (read-write)
via filesharing.
Check to see if this dist point is reachable for uploads ( read - write ) via filesharing .
false if not reachable, otherwise :mountable
false if not reachable otherwise : mountable
FalseClass, Symbol
pw
the read-write password to use for checking the connection
the read - write password to use for checking the connection