summaryrefslogtreecommitdiff
path: root/app/models/concerns/presentable.rb
blob: 7b33b8370043cd9e7b66c72bd31fa672966b93bc (plain)
1
2
3
4
5
6
7
module Presentable
  def present(**attributes)
    Gitlab::View::Presenter::Factory
      .new(self, attributes)
      .fabricate!
  end
end