-
-
Save shal/af16e8e9e249f603fe5f5dedfd77677d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deposits = [ | |
{ member_id: 3, currency_id: :usd, amount: 1000 } | |
] | |
deposits.map do |d| | |
Deposits::Fiat.create!(d).tap(&:accept!) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment