Class: Message
Overview
Class Message represents structure of message
= Message.new
.code # => Integer
. # => String
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#message ⇒ Object
Returns the value of attribute message.
Method Summary
Methods inherited from Struct
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
7 8 9 |
# File 'lib/models/message.rb', line 7 def code @code end |
#message ⇒ Object
Returns the value of attribute message
7 8 9 |
# File 'lib/models/message.rb', line 7 def @message end |