Module: Eco::API::UseCases::GraphQL::Helpers::Contractors::Base::ManagerSettings

Includes:
Base
Included in:
Eco::API::UseCases::GraphQL::Helpers::Contractors::Base
Defined in:
lib/eco/api/usecases/graphql/helpers/contractors/base/manager_settings.rb

Overview

NATIVE contractor write helper — updateContractorManagerSettings.

Drives the gem's Builder::ContractorEntity#update_manager_settings to set the organisation's contractor-manager auto-approval settings and whether contractor admins may add other admins.

Guards (aligned with the repo's write discipline):

  • dry-run / simulate: when simulate? (or dry_run: is passed), NO mutation is sent; the intended input is logged and returned so callers can inspect it.
  • -no-email: honoured — when email is suppressed (options.dig(:workflow, :no_email) or an explicit no_email:), the helper does not emit its own success notification. The server-side mutation itself sends no member email for this settings change.

Instance Attribute Summary

Attributes included from Lib::ErrorHandling

#exception, #exiting

Attributes included from Language::AuxiliarLogger

#logger

Method Summary

Methods included from Language::AuxiliarLogger

#log