mlomnicki/ddd-ecommerce

View on GitHub
lib/sales/adapter/payment/responses.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Sales
  module Adapter
    module Payment
      Success = Struct.new(:payment_id)
      Error   = Struct.new(:error_message)

      ApiFailure = Class.new(StandardError)
    end
  end
end