Class: Arcticelvis::EventMessage

Inherits:
Base
  • Object
show all
Defined in:
lib/arcticelvis/event_message.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#created_at, #updated_at

Method Summary

Methods inherited from Base

#initialize, #parse_timestamps, #set_attributes

Constructor Details

This class inherits a constructor from Arcticelvis::Base

Instance Attribute Details

#event_idObject

Returns the value of attribute event_id.



3
4
5
# File 'lib/arcticelvis/event_message.rb', line 3

def event_id
  @event_id
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/arcticelvis/event_message.rb', line 3

def id
  @id
end

#preview(payload = {}) ⇒ Object

Returns the value of attribute preview.



3
4
5
# File 'lib/arcticelvis/event_message.rb', line 3

def preview
  @preview
end

#stateObject

Returns the value of attribute state.



3
4
5
# File 'lib/arcticelvis/event_message.rb', line 3

def state
  @state
end

#subjectObject

Returns the value of attribute subject.



3
4
5
# File 'lib/arcticelvis/event_message.rb', line 3

def subject
  @subject
end