The master of a ship has authority to borrow money on the credit of its owner, if it necessary to enable him to complete the voyage, and if neither the owner nor his proper agent for such matters can be consulted without injurious delay.

SOURCE: CC § 2374.