Class: Blockchain0xX402::Server::VerifyOk
- Inherits:
-
Struct
- Object
- Struct
- Blockchain0xX402::Server::VerifyOk
- Defined in:
- lib/blockchain0x_x402/server.rb
Overview
Typed verify result. Returns one of:
{ ok: true, payment: ExactUsdcPayment }
{ ok: false, reason: 'header_missing' | 'header_malformed' |
'requirement_mismatch' | 'settle_rejected', message: String }
Instance Attribute Summary collapse
-
#payment ⇒ Object
Returns the value of attribute payment.
Instance Method Summary collapse
Instance Attribute Details
#payment ⇒ Object
Returns the value of attribute payment
125 126 127 |
# File 'lib/blockchain0x_x402/server.rb', line 125 def payment @payment end |
Instance Method Details
#ok? ⇒ Boolean
126 |
# File 'lib/blockchain0x_x402/server.rb', line 126 def ok?; true; end |