Sha256: 5412e668ec1bf249bf64d5c29760b4215a84828e198ecd14033aefc6701891d4
Contents?: true
Size: 600 Bytes
Versions: 30
Compression:
Stored size: 600 Bytes
Contents
# frozen_string_literal: true module Mihari module Entities class ConfigStatus < Grape::Entity expose :type, documentation: { type: String, required: true } expose :values, documentation: { type: String, is_array: true, required: true } expose :is_configured, documentation: { type: Grape::API::Boolean, required: true }, as: :isConfigured end class Config < Grape::Entity expose :name, documentation: { type: String, required: true } expose :status, using: Entities::ConfigStatus, documentation: { type: ConfigStatus, required: true } end end end
Version data entries
30 entries across 30 versions & 1 rubygems