class Artifactory::Resource::Repository

def upload_with_checksum(local_path, remote_path, checksum, properties = {})

Other tags:
    See: Artifact#upload_with_checksum - More syntax examples
def upload_with_checksum(local_path, remote_path, checksum, properties = {})
  artifact = Resource::Artifact.new(local_path: local_path)
  artifact.upload_with_checksum(key, remote_path, checksum, properties)
end