Class BSV::Network::Result::Success ¶
Inherits: Object Includes: BSV::Network::Result::Predicates
Represents a successful outcome. Carries the response payload in data and optional protocol-specific extras in metadata.
Attributes¶
data [R] ¶
Returns the value of attribute data.
metadata [R] ¶
Returns the value of attribute metadata.
Public Instance Methods¶
==(other) ¶
Not documented.
error?() ¶
- @return [Boolean]
hash() ¶
Not documented.
initialize(data:, metadata: = {}) ¶
- @return [Success] a new instance of Success
not_found?() ¶
- @return [Boolean]
success?() ¶
- @return [Boolean]