Class: API::Entities::IssuableEntity

Inherits:
Grape::Entity
  • Object
show all
Defined in:
lib/api/entities/issuable_entity.rb

Direct Known Subclasses

IssueBasic, MergeRequestBasic, MergeRequestSimple

Instance Method Summary collapse

Instance Method Details

#issuable_metadataObject



23
24
25
# File 'lib/api/entities/issuable_entity.rb', line 23

def 
  options.dig(:issuable_metadata, object.id) || 
end

#presentedObject



17
18
19
20
21
# File 'lib/api/entities/issuable_entity.rb', line 17

def presented
  

  super
end