Class: SolidusOpenPay::Response

Inherits:
ActiveMerchant::Billing::Response
  • Object
show all
Defined in:
app/models/solidus_open_pay/response.rb

Class Method Summary collapse

Class Method Details

.build(result) ⇒ Object



10
11
12
13
14
15
16
# File 'app/models/solidus_open_pay/response.rb', line 10

def build(result)
  if success?(result)
    build_success(result)
  else
    build_failure(result)
  end
end