Class: SolidusBraintree::Response
- Inherits:
-
ActiveMerchant::Billing::Response
- Object
- ActiveMerchant::Billing::Response
- SolidusBraintree::Response
- Defined in:
- app/models/solidus_braintree/response.rb
Class Method Summary collapse
Class Method Details
.build(result) ⇒ Object
15 16 17 |
# File 'app/models/solidus_braintree/response.rb', line 15 def build(result) result.success? ? build_success(result) : build_failure(result) end |