Method: Avm::Gitlab::RestApi::Root#project

Defined in:
lib/avm/gitlab/rest_api/root.rb

#project(id) ⇒ Object



20
21
22
23
24
25
26
# File 'lib/avm/gitlab/rest_api/root.rb', line 20

def project(id)
  fetch_entity(
    "/projects/#{encode_id(id)}",
    ::Avm::Gitlab::RestApi::Project,
    '404 Project Not Found'
  )
end