debian-mirror-gitlab/lib/api/entities/basic_success.rb
2023-03-05 14:24:40 +05:30

12 lines
284 B
Ruby

# 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