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

- (Object) duration

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

- (Object) message

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