IsEntitled checks if a user can send `count` messages
(count, limit uint)
| 26 | |
| 27 | // IsEntitled checks if a user can send `count` messages |
| 28 | func (usage *BillingUsage) IsEntitled(count, limit uint) bool { |
| 29 | return (usage.TotalMessages() + count) < limit |
| 30 | } |
no test coverage detected