Class: Types::WorkItemType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/work_item_type.rb

Instance Method Summary collapse

Methods inherited from BaseObject

accepts, assignable?, authorization, authorize, authorized?, #current_user, #id

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Instance Method Details

#create_note_emailObject



70
71
72
# File 'app/graphql/types/work_item_type.rb', line 70

def create_note_email
  object.creatable_note_email_address(context[:current_user])
end

#web_urlObject



66
67
68
# File 'app/graphql/types/work_item_type.rb', line 66

def web_url
  Gitlab::UrlBuilder.build(object)
end