Class: HttpState::Message::MessageType

Inherits:
Object
  • Object
show all
Defined in:
lib/httpstate.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, timestamp, type, value)
  @uuid = uuid
  @timestamp = timestamp
  @type = type
  @value = value
end

Instance Attribute Details

#timestampObject

Returns the value of attribute timestamp.



35
36
37
# File 'lib/httpstate.rb', line 35

def timestamp
  @timestamp
end

#typeObject

Returns the value of attribute type.



35
36
37
# File 'lib/httpstate.rb', line 35

def type
  @type
end

#uuidObject

Returns the value of attribute uuid.



35
36
37
# File 'lib/httpstate.rb', line 35

def uuid
  @uuid
end

#valueObject

Returns the value of attribute value.



35
36
37
# File 'lib/httpstate.rb', line 35

def value
  @value
end