Class: Metrics::Dashboard::TransientEmbedService
- Inherits:
-
BaseEmbedService
- Object
- BaseService
- BaseService
- BaseEmbedService
- Metrics::Dashboard::TransientEmbedService
- Extended by:
- Gitlab::Utils::Override
- Defined in:
- app/services/metrics/dashboard/transient_embed_service.rb
Constant Summary
Constants inherited from BaseService
BaseService::SEQUENCE, BaseService::STAGES
Constants included from Gitlab::Metrics::Dashboard::Errors
Gitlab::Metrics::Dashboard::Errors::DashboardProcessingError, Gitlab::Metrics::Dashboard::Errors::LayoutError, Gitlab::Metrics::Dashboard::Errors::MissingIntegrationError, Gitlab::Metrics::Dashboard::Errors::MissingQueryError, Gitlab::Metrics::Dashboard::Errors::NOT_FOUND_ERROR, Gitlab::Metrics::Dashboard::Errors::PanelNotFoundError
Instance Attribute Summary
Attributes inherited from BaseService
#current_user, #params, #project
Class Method Summary collapse
Methods included from Gitlab::Utils::Override
extended, extensions, included, method_added, override, prepended, queue_verification, verify!
Methods inherited from BaseEmbedService
Methods inherited from BaseService
all_dashboard_paths, #get_dashboard, out_of_the_box_dashboard?, #raw_dashboard
Methods included from Gitlab::Metrics::Dashboard::Errors
#handle_errors, #panels_not_found!
Methods inherited from BaseService
Methods included from BaseServiceUtility
#deny_visibility_level, #event_service, #log_error, #log_info, #notification_service, #system_hook_service, #todo_service, #visibility_level
Methods included from Gitlab::Allowable
Constructor Details
This class inherits a constructor from BaseService
Class Method Details
.valid_params?(params) ⇒ Boolean
14 15 16 17 18 19 |
# File 'app/services/metrics/dashboard/transient_embed_service.rb', line 14 def valid_params?(params) [ (params[:embedded]), params[:embed_json] ].all? end |