Class: Types::CommitType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/commit_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

#author_gravatarObject


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

def author_gravatar
  GravatarService.new.execute(object.author_email, 40)
end