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



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

def duration
  @duration
end

#messageObject

Returns the value of attribute message



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

def message
  @message
end