Module: LfsRequest

Extended by:
ActiveSupport::Concern
Includes:
Gitlab::Utils::StrongMemoize
Included in:
Repositories::LfsApiController, Repositories::LfsLocksApiController, Repositories::LfsStorageController
Defined in:
app/controllers/concerns/lfs_request.rb

Overview

This concern assumes:

  • a `#container` accessor

  • a `#project` accessor

  • a `#user` accessor

  • a `#deploy_token` accessor

  • a `#authentication_result` accessor

  • a `#can?(object, action, subject)` method

  • a `#ci?` method

  • a `#download_request?` method

  • a `#upload_request?` method

  • a `#has_authentication_ability?(ability)` method

Constant Summary collapse

CONTENT_TYPE =
'application/vnd.git-lfs+json'

Method Summary

Methods included from Gitlab::Utils::StrongMemoize

#clear_memoization, #strong_memoize, #strong_memoized?