ref: f571b5e726750cf8c4523c22d77e110194c3e16a sgx-jmp/lib/trust_level_repo.rb -rw-r--r-- 783 bytes

Helper for queries that only return a single row.
Merge branch 'trustlevel-repo'

* trustlevel-repo:

To determine how much permission a customer account should have to take risky
actions.  Seperate from their plan, this is not how much they could do in
theory, but how much the system will allow in practise due to perceived risk.

Starts out with a simple model based on amount of settled payments, and being
used to decide what is an "expensive" route for outbound calls.