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



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

def duration
  @duration
end

- (Object) message

Returns the value of attribute message



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

def message
  @message
end