Sha256: f98e2f3f49b0cbc44447d32aee087ddb208faed976f9ee6442a366dc8457d40c
Contents?: true
Size: 700 Bytes
Versions: 3
Compression:
Stored size: 700 Bytes
Contents
require 'rake' require 'cryptocoin_payable/commands/pricing_processor' require 'cryptocoin_payable/commands/payment_processor' namespace :cryptocoin_payable do desc 'Process the prices and update the payments' task process_prices: :environment do CryptocoinPayable::PricingProcessor.perform end desc 'Delete old CurrencyConversion data (will delete last month by default)' task delete_currency_conversions: :environment do CryptocoinPayable::PricingProcessor.delete_currency_conversions(ENV['DELETE_BEFORE']) end desc 'Get transactions from external API and process payments' task process_payments: :environment do CryptocoinPayable::PaymentProcessor.perform end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cryptocoin_payable-1.1.0 | lib/cryptocoin_payable/tasks.rb |
cryptocoin_payable-1.0.1 | lib/cryptocoin_payable/tasks.rb |
cryptocoin_payable-1.0.0 | lib/cryptocoin_payable/tasks.rb |