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


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

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

#presentedObject


11
12
13
14
15
# File 'lib/api/entities/issuable_entity.rb', line 11

def presented
  

  super
end