app/services/wallet_addresses_management/associate_address.rb
def redirect_request_to_saas_api
      params_for_saas_api = {
        signer: @owner_address,
        personal_sign: @personal_sign,
        message_to_sign: GlobalConstant::MessageToSign.wallet_association,
        client_id: @client_id
      }

      r = SaasApi::WalletAddress::Associate.new.perform(params_for_saas_api)
      return r unless r.success?

      @signed_by_address = r.data[:signer]
      @signed_by_address = sanitize_address(@signed_by_address)
      success
    end
# Redirect request to saas api to validate the personal sign
#
#
# * Author: Ankit
# * Date: 19/01/2019
# * Reviewed By:
#
# @return [Result::Base]
Redirect request to saas api to validate the personal sign
Author: Ankit
Date: 19/01/2019
Reviewed By.
Redirect request to saas api to validate the personal sign Author : Ankit Date : 19 / 01 / 2019 Reviewed By .
def redirect_request_to_saas_api
      params_for_saas_api = {
        signer: @owner_address,
        personal_sign: @personal_sign,
        message_to_sign: GlobalConstant::MessageToSign.wallet_association,
        client_id: @client_id
      }
      r = SaasApi::WalletAddress::Associate.new.perform(params_for_saas_api)
      return r unless r.success?
      @signed_by_address = r.data[:signer]
      @signed_by_address = sanitize_address(@signed_by_address)
      success
    end
def redirect_request_to_saas_api params_for_saas_api = { signer : @owner_address , personal_sign : @personal_sign , message_to_sign : GlobalConstant :: MessageToSign . wallet_association , client_id : @client_id } r = SaasApi :: WalletAddress :: Associate . new . perform ( params_for_saas_api ) return r unless r . success? @signed_by_address = r . data [ :signer ] @signed_by_address = sanitize_address ( @signed_by_address ) success end
Redirect request to saas api to validate the personal sign
 Author: Ankit
 Date: 19/01/2019
 Reviewed By:
Redirect request to saas api to validate the personal sign Author : Ankit Date : 19 / 01 / 2019 Reviewed By :
None
Result::Base