Class: LMS::GraphQL::Mutations::Canvas::CreateSubgroupAccount
- Inherits:
-
CanvasBaseMutation
- Object
- GraphQL::Schema::Mutation
- CanvasBaseMutation
- LMS::GraphQL::Mutations::Canvas::CreateSubgroupAccount
- Defined in:
- lib/lms/graphql/mutations/canvas/create_subgroup_accounts.rb
Instance Method Summary collapse
Instance Method Details
#resolve(account_id:, id:, title:, description: nil, vendor_guid: nil) ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/lms/graphql/mutations/canvas/create_subgroup_accounts.rb', line 14 def resolve(account_id:, id:, title:, description: nil, vendor_guid: nil) ctx[:canvas_api].proxy( "CREATE_SUBGROUP_ACCOUNTS", { "account_id": account_id, "id": id, "title": title, "description": description, "vendor_guid": vendor_guid }, nil, ).parsed_response end |