lib/transactionable/bank_account_transactionable.rb in transactionable-0.3.0 vs lib/transactionable/bank_account_transactionable.rb in transactionable-0.3.1

- old
+ new

@@ -7,10 +7,10 @@ has_many :bank_accounts, as: :bank_accountable, dependent: :destroy, class_name: "Transactionable::BankAccount" def add_bank_account(balanced_uri) bank_accounts.destroy_all if one_bank_account? bank_account = bank_accounts.create - remote_account = RemoteBankAccount.create(uri: balanced_uri, local_entity: bank_account) + remote_account = Transactionable::RemoteBankAccount.create(uri: balanced_uri, local_entity: bank_account) bank_account.reload.sync sync_customer self.reload.remote.add_bank_account(balanced_uri) end \ No newline at end of file