debian-mirror-gitlab/lib/api/entities/basic_success.rb

13 lines
284 B
Ruby
Raw Normal View History

2023-03-04 22:38:38 +05:30
# 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