def artifacts
      @artifacts ||= Collection::Artifact.new(self, repos: key) do
        Resource::Artifact.search(name: ".*", repos: key)
      end
    end
def artifacts
      @artifacts ||= Collection::Artifact.new(self, repos: key) do
        Resource::Artifact.search(name: ".*", repos: key)
      end
    end
The list of artifacts in this repository on the remote artifactory
 server.

 @see Artifact.search Search syntax examples

 @example Get the list of artifacts for a repository
   repo = Repository.new('libs-release-local')
   repo.artifacts #=> [#<Resource::Artifacts>, ...]

 @return [Collection::Artifact]
   the list of artifacts