Class: HttpState::Message::MessageType
- Inherits:
-
Object
- Object
- HttpState::Message::MessageType
- Defined in:
- lib/httpstate.rb
Instance Attribute Summary collapse
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
-
#type ⇒ Object
Returns the value of attribute type.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(uuid, timestamp, type, value) ⇒ MessageType
constructor
A new instance of MessageType.
Constructor Details
#initialize(uuid, timestamp, type, value) ⇒ MessageType
Returns a new instance of MessageType.
37 38 39 40 41 42 |
# File 'lib/httpstate.rb', line 37 def initialize(uuid, , type, value) @uuid = uuid @timestamp = @type = type @value = value end |
Instance Attribute Details
#timestamp ⇒ Object
Returns the value of attribute timestamp.
35 36 37 |
# File 'lib/httpstate.rb', line 35 def @timestamp end |
#type ⇒ Object
Returns the value of attribute type.
35 36 37 |
# File 'lib/httpstate.rb', line 35 def type @type end |
#uuid ⇒ Object
Returns the value of attribute uuid.
35 36 37 |
# File 'lib/httpstate.rb', line 35 def uuid @uuid end |
#value ⇒ Object
Returns the value of attribute value.
35 36 37 |
# File 'lib/httpstate.rb', line 35 def value @value end |