Class: LMSGraphQL::Resolvers::Canvas::GetSingleRole
- Inherits:
-
CanvasBaseResolver
- Object
- GraphQL::Schema::Resolver
- CanvasBaseResolver
- LMSGraphQL::Resolvers::Canvas::GetSingleRole
- Defined in:
- lib/lms_graphql/resolvers/canvas/get_single_role.rb
Instance Method Summary collapse
Instance Method Details
#resolve(id:, account_id:, role_id:, role: nil) ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/lms_graphql/resolvers/canvas/get_single_role.rb', line 12 def resolve(id:, account_id:, role_id:, role: nil) context[:canvas_api].proxy( "GET_SINGLE_ROLE", { "id": id, "account_id": account_id, "role_id": role_id, "role": role }, nil, ).parsed_response end |