Module: RequestAwareEntity

Extended by:
ActiveSupport::Concern
Included in:
API::Entities::CommitWithLink, API::Entities::Environment, API::Entities::FeatureFlag::UserList, API::Entities::UserPath, Admin::UserEntity, Analytics::CycleAnalytics::ConfigurationEntity, AnalyticsBuildEntity, AnalyticsIssueEntity, BaseDiscussionEntity, BlobEntity, BuildActionEntity, BuildArtifactEntity, Ci::DownloadableArtifactEntity, Ci::JobEntity, Ci::PipelineEntity, ClusterEntity, ContainerRepositoryEntity, ContainerTagEntity, DeploymentClusterEntity, DeploymentEntity, DetailedStatusEntity, DiffFileBaseEntity, DiffsEntity, DraftNoteEntity, EnvironmentEntity, EnvironmentStatusEntity, FeatureFlagEntity, FeatureFlagSummaryEntity, FeatureFlagsClientEntity, ForkNamespaceEntity, GroupBasicEntity, GroupChildEntity, GroupEntity, GroupLink::GroupGroupLinkEntity, GroupLink::GroupLinkEntity, GroupLink::ProjectGroupLinkEntity, Integrations::ProjectEntity, IssuableEntity, IssuableSidebarBasicEntity, IssuableSidebarExtrasEntity, IssueBoardEntity, JobArtifactReportEntity, JobGroupEntity, LinkedIssueEntity, MemberEntity, MergeRequestCurrentUserEntity, MergeRequestForPipelineEntity, MergeRequestNoteableEntity, MergeRequestPollWidgetEntity, MergeRequestUserEntity, MergeRequestWidgetEntity, MergeRequests::PipelineEntity, NoteEntity, PaginatedDiffEntity, ProjectEntity, Projects::Serverless::ServiceEntity, PrometheusAlertEntity, PrometheusMetricEntity, ReviewAppSetupEntity, RolloutStatusEntity, RunnerEntity, ServiceEventEntity, ServiceFieldEntity, StageEntity, SuggestionEntity, TriggerVariableEntity, TriggeredPipelineEntity
Defined in:
app/serializers/request_aware_entity.rb

Instance Method Summary collapse

Instance Method Details

#requestObject


12
13
14
# File 'app/serializers/request_aware_entity.rb', line 12

def request
  options.fetch(:request)
end