Whenever execution shall issue against a defendant whose stock or shares in any banking association or any body corporate established within this state shall have been attached, the officer charged therewith shall serve a copy of the execution, if a bank, upon the cashier; if an insurance company, upon the president or secretary; if any other corporate body within this state, upon the treasurer or person executing the duties of treasurer; and if any foreign corporation, upon the clerk or agent or its attorney authorized to accept service of process in its behalf in this state; which shall be deemed a good and sufficient levy of the execution upon the stock or shares of the defendant in the company, provided the levying officer complies with the requirements of § 6A-8-317 [repealed].
R.I. Gen. Laws § 9-26-22