Class: Types::CommitType
Instance Method Summary
collapse
Methods inherited from BaseObject
accepts, assignable?, authorization, authorization_scopes, authorize, authorized?, #current_user, #id
#present, #unpresented
Instance Method Details
#author_gravatar ⇒ Object
92
93
94
|
# File 'app/graphql/types/commit_type.rb', line 92
def author_gravatar
GravatarService.new.execute(object.author_email, 40)
end
|
#diffs ⇒ Object
88
89
90
|
# File 'app/graphql/types/commit_type.rb', line 88
def diffs
object.diffs.diffs
end
|