Class: LMSGraphQL::Mutations::Canvas::RefreshJwt

Inherits:
BaseMutation
  • Object
show all
Defined in:
lib/lms_graphql/mutations/canvas/refresh_jwt.rb

Instance Method Summary collapse

Instance Method Details

#resolve(jwt:) ⇒ Object



12
13
14
15
16
17
18
19
20
# File 'lib/lms_graphql/mutations/canvas/refresh_jwt.rb', line 12

def resolve(jwt:)
  context[:canvas_api].call("REFRESH_JWT").proxy(
    "REFRESH_JWT",
    {},
    {
      "jwt": jwt
    },
  ).parsed_response
end