Class: LMSGraphQL::Mutations::Canvas::ShareBrandconfigTheme

Inherits:
BaseMutation
  • Object
show all
Defined in:
lib/lms_graphql/mutations/canvas/share_brandconfig_theme.rb

Instance Method Summary collapse

Instance Method Details

#resolve(account_id:, shared_brand_config_name:, shared_brand_config_brand_config_md5:) ⇒ Object



14
15
16
17
18
19
20
21
22
23
24
25
# File 'lib/lms_graphql/mutations/canvas/share_brandconfig_theme.rb', line 14

def resolve(account_id:, shared_brand_config_name:, shared_brand_config_brand_config_md5:)
  context[:canvas_api].call("SHARE_BRANDCONFIG_THEME").proxy(
    "SHARE_BRANDCONFIG_THEME",
    {
      "account_id": 
    },
    {
      "shared_brand_config[name]": shared_brand_config_name,
      "shared_brand_config[brand_config_md5]": shared_brand_config_brand_config_md5
    },
  ).parsed_response
end