Class: LMSGraphQL::Resolvers::Canvas::ShowBlueprintImport
- Inherits:
-
CanvasBaseResolver
- Object
- GraphQL::Schema::Resolver
- CanvasBaseResolver
- LMSGraphQL::Resolvers::Canvas::ShowBlueprintImport
- Defined in:
- lib/lms_graphql/resolvers/canvas/show_blueprint_import.rb
Instance Method Summary collapse
Instance Method Details
#resolve(course_id:, subscription_id:, id:, get_all: false) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/lms_graphql/resolvers/canvas/show_blueprint_import.rb', line 11 def resolve(course_id:, subscription_id:, id:, get_all: false) result = context[:canvas_api].call("SHOW_BLUEPRINT_IMPORT").proxy( "SHOW_BLUEPRINT_IMPORT", { "course_id": course_id, "subscription_id": subscription_id, "id": id }, nil, get_all, ) get_all ? result : result.parsed_response end |