Class: RestCore::EventStruct

Inherits:
Struct
  • Object
show all
Defined in:
lib/rest-core/event.rb

Direct Known Subclasses

Event

Instance Attribute Summary collapse

Instance Attribute Details

#durationObject

Returns the value of attribute duration

Returns:

  • (Object)

    the current value of duration



3
4
5
# File 'lib/rest-core/event.rb', line 3

def duration
  @duration
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



3
4
5
# File 'lib/rest-core/event.rb', line 3

def message
  @message
end