Welcome to mirror list, hosted at ThFree Co, Russian Federation.

basic_success.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 37388f56221624bc2b216938f38ac1229a51a19b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module API
  module Entities
    # Simple representation for endpoints that returns a trivial success response.
    class BasicSuccess < Grape::Entity
      expose :success, documentation: { type: 'boolean' } do
        true
      end
    end
  end
end