lib/chatrix/matrix.rb
# Gets supported API versions from the server.
# @return [Array<String>] an array with the supported versions.
Gets supported API versions from the server.
Gets supported API versions from the server .
def versions
      make_request(
        :get, '/versions', base: "#{@homeserver}/_matrix/client"
      )['versions']
    end
def versions make_request ( :get , '/versions' , base : "#{@homeserver}/_matrix/client" ) [ 'versions' ] end
Gets supported API versions from the server.
Gets supported API versions from the server .
an array with the supported versions.
an array with the supported versions .
Array<String>