Class: LMSGraphQL::Mutations::Canvas::CreateJwt

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

Instance Method Summary collapse

Instance Method Details

#resolve(workflows: nil) ⇒ Object



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

def resolve(workflows: nil)
  context[:canvas_api].call("CREATE_JWT").proxy(
    "CREATE_JWT",
    {},
    {
      "workflows": workflows
    },
  ).parsed_response
end