Class: Hive::Payment
- Defined in:
- lib/hive/models/payment.rb
Overview
Tracks the payments sent to the null account for Post Promotion purposes.
To grab the top 100 most promoted, grouped by post promoted sum:
Hive::Payment.top_amount(:post, 100)
Hive::Payment.top_amount # same as #top_amount
Method Summary
Methods inherited from Base
delete, #delete, delete_all, transform_account_selector, #update, update_all