Class: MarilynRPC::ExceptionMail
- Inherits:
-
Struct
- Object
- Struct
- MarilynRPC::ExceptionMail
- Includes:
- MailHelper
- Defined in:
- lib/marilyn-rpc/mails.rb
Constant Summary
- TYPE =
MarilynRPC::MailHelper.type(3)
Instance Attribute Summary (collapse)
-
- (Object) exception
Returns the value of attribute exception.
Instance Method Summary (collapse)
Methods included from MailHelper
#deserialize, #only_data, #serialize, type
Instance Attribute Details
- (Object) exception
Returns the value of attribute exception
59 60 61 |
# File 'lib/marilyn-rpc/mails.rb', line 59 def exception @exception end |
Instance Method Details
- (Object) decode(data)
67 68 69 |
# File 'lib/marilyn-rpc/mails.rb', line 67 def decode(data) self.exception = deserialize(only_data(data)) end |
- (Object) encode
63 64 65 |
# File 'lib/marilyn-rpc/mails.rb', line 63 def encode TYPE + serialize(self.exception) end |