class LMSGraphQL::Mutations::Canvas::CreateObserverPairingCode
Public Instance Methods
resolve(user_id:)
click to toggle source
# File lib/lms_graphql/mutations/canvas/create_observer_pairing_code.rb, line 12 def resolve(user_id:) context[:canvas_api].call("CREATE_OBSERVER_PAIRING_CODE").proxy( "CREATE_OBSERVER_PAIRING_CODE", { "user_id": user_id }, {}, ).parsed_response end