class LMSGraphQL::Mutations::Canvas::GetPandataJwtTokenAndItsExpirationDate

Public Instance Methods

resolve(id:, app_key: nil) click to toggle source
# File lib/lms_graphql/mutations/canvas/get_pandata_jwt_token_and_its_expiration_date.rb, line 10
def resolve(id:, app_key: nil)
  context[:canvas_api].call("GET_PANDATA_JWT_TOKEN_AND_ITS_EXPIRATION_DATE").proxy(
    "GET_PANDATA_JWT_TOKEN_AND_ITS_EXPIRATION_DATE",
    {
      "id": id,
      "app_key": app_key            },
    nil,
  ).parsed_response
end