Exception: NISTRandomnessBeacon::ServiceError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/nist_randomness_beacon/service_error.rb

Overview

For exceptions encountered with the service

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject (readonly)

Returns the value of attribute body.



4
5
6
# File 'lib/nist_randomness_beacon/service_error.rb', line 4

def body
  @body
end