Class: Ibrain::Mutations::GenerateFirebaseTokenMutation
- Inherits:
-
AuthMutation
- Object
- BaseMutation
- AuthMutation
- Ibrain::Mutations::GenerateFirebaseTokenMutation
- Defined in:
- app/graphql/ibrain/mutations/generate_firebase_token_mutation.rb
Instance Method Summary collapse
Methods inherited from AuthMutation
Instance Method Details
#resolve(_args) ⇒ Object
10 11 12 13 14 |
# File 'app/graphql/ibrain/mutations/generate_firebase_token_mutation.rb', line 10 def resolve(_args) token = repo.generate_custom_token! graphql_returning(token) end |