Exception: NISTRandomnessBeacon::ServiceError
- Inherits:
-
StandardError
- Object
- StandardError
- NISTRandomnessBeacon::ServiceError
- Defined in:
- lib/nist_randomness_beacon/service_error.rb
Overview
For exceptions encountered with the service
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(body) ⇒ ServiceError
constructor
A new instance of ServiceError.
Constructor Details
#initialize(body) ⇒ ServiceError
6 7 8 |
# File 'lib/nist_randomness_beacon/service_error.rb', line 6 def initialize body @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
4 5 6 |
# File 'lib/nist_randomness_beacon/service_error.rb', line 4 def body @body end |