class LMSGraphQL::Resolvers::Canvas::ReturnsTermsOfServiceForThatAccount

Public Instance Methods

resolve(account_id:) click to toggle source
# File lib/lms_graphql/resolvers/canvas/returns_terms_of_service_for_that_account.rb, line 9
def resolve(account_id:)
  context[:canvas_api].call("RETURNS_TERMS_OF_SERVICE_FOR_THAT_ACCOUNT").proxy(
    "RETURNS_TERMS_OF_SERVICE_FOR_THAT_ACCOUNT",
    {
      "account_id": account_id            },
    nil,
  ).parsed_response
end