title: See if a braintree transaction has a successful status
body: <p>Braintree provides a <a href="https://developers.braintreepayments.com/reference/general/statuses" rel="nofollow noreferrer">pretty massive list of different statuses</a> to a transaction. Without hardcoding a massive list of statuses (that might change in the future), is there a recommended way to know if a <a href="https://developers.braintreepayments.com/guides/transactions/ruby" rel="nofollow noreferrer"><code>Braintree::Transaction</code></a> is successful?</p>