Class: Types::Achievements::AchievementType

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

#avatar_urlObject



54
55
56
# File 'app/graphql/types/achievements/achievement_type.rb', line 54

def avatar_url
  object.avatar_url(only_path: false)
end