class LMSGraphQL::Resolvers::Canvas::GetAuthenticationProvider

Public Instance Methods

resolve(account_id:, id:, get_all: false) click to toggle source
# File lib/lms_graphql/resolvers/canvas/get_authentication_provider.rb, line 10
def resolve(account_id:, id:, get_all: false)
  result = context[:canvas_api].call("GET_AUTHENTICATION_PROVIDER").proxy(
    "GET_AUTHENTICATION_PROVIDER",
    {
      "account_id": account_id,
      "id": id            },
    nil,
    get_all,
  )
  get_all ? result : result.parsed_response
end