Sha256: f671655fcb6e9635ad3f3596a5a0c5ba27024d29295706159a662ec784e38216

Contents?: true

Size: 332 Bytes

Versions: 6

Compression:

Stored size: 332 Bytes

Contents

module Sufia
  module GenericFile
    module Versions
      def record_version_committer(user)
        version = content.latest_version
        # content datastream not (yet?) present
        return if version.nil?
        VersionCommitter.create(version_id: version.uri, committer_login: user.user_key)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sufia-models-6.7.0 app/models/concerns/sufia/generic_file/versions.rb
sufia-models-6.6.1 app/models/concerns/sufia/generic_file/versions.rb
sufia-models-6.6.0 app/models/concerns/sufia/generic_file/versions.rb
sufia-models-6.5.0 app/models/concerns/sufia/generic_file/versions.rb
sufia-models-6.4.0 app/models/concerns/sufia/generic_file/versions.rb
sufia-models-6.3.0 app/models/concerns/sufia/generic_file/versions.rb