app/services/admin_management/whitelist/client.rb
def enforce_mfa_and_mark_client_as_whitelisted_for_mainnet

        set_props_arr = [
            GlobalConstant::Client.has_enforced_mfa_property,
            GlobalConstant::Client.mainnet_whitelisted_status
        ]

        unset_props_arr = [
          GlobalConstant::Client.mainnet_whitelist_requested_status
        ]

        ::Client.atomic_update_bitwise_columns(@client_id, set_props_arr, unset_props_arr)

        success
      end
# Enforce MFA and Whitelist the client in client table
# * Author: Ankit
# * Date: 30/01/2019
# * Reviewed By:
#
# @return [Result::Base]
Enforce MFA and Whitelist the client in client table
Author: Ankit
Date: 30/01/2019
Reviewed By.
Enforce MFA and Whitelist the client in client table Author : Ankit Date : 30 / 01 / 2019 Reviewed By .
def enforce_mfa_and_mark_client_as_whitelisted_for_mainnet
        set_props_arr = [
            GlobalConstant::Client.has_enforced_mfa_property,
            GlobalConstant::Client.mainnet_whitelisted_status
        ]
        unset_props_arr = [
          GlobalConstant::Client.mainnet_whitelist_requested_status
        ]
        ::Client.atomic_update_bitwise_columns(@client_id, set_props_arr, unset_props_arr)
        success
      end
def enforce_mfa_and_mark_client_as_whitelisted_for_mainnet set_props_arr = [ GlobalConstant :: Client . has_enforced_mfa_property , GlobalConstant :: Client . mainnet_whitelisted_status ] unset_props_arr = [ GlobalConstant :: Client . mainnet_whitelist_requested_status ] :: Client . atomic_update_bitwise_columns ( @client_id , set_props_arr , unset_props_arr ) success end
Enforce MFA and Whitelist the client in client table
 Author: Ankit
 Date: 30/01/2019
 Reviewed By:
Enforce MFA and Whitelist the client in client table Author : Ankit Date : 30 / 01 / 2019 Reviewed By :
None
Result::Base