Class: NForm::ServiceError
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message = "Unknown Error") ⇒ ServiceError
constructor
A new instance of ServiceError.
Constructor Details
#initialize(message = "Unknown Error") ⇒ ServiceError
Returns a new instance of ServiceError.
51 52 53 |
# File 'lib/nform/service.rb', line 51 def initialize(="Unknown Error") @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
50 51 52 |
# File 'lib/nform/service.rb', line 50 def @message end |