Class: LMS::GraphQL::Mutations::Canvas::RefreshJwt

Inherits:
CanvasBaseMutation
  • Object
show all
Defined in:
lib/lms/graphql/mutations/canvas/refresh_jwt.rb

Instance Method Summary collapse

Instance Method Details

#resolve(jwt:) ⇒ Object



10
11
12
13
14
15
16
17
# File 'lib/lms/graphql/mutations/canvas/refresh_jwt.rb', line 10

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