Class: WorkflowMessage

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/msf/models/workflow_message.rb

Overview

ActiveRecord model of MSF WorkflowMessage

Example:

WorkflowMessage.first.message

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.primary_keyObject



10
11
12
# File 'lib/msf/models/workflow_message.rb', line 10

def self.primary_key
  :MessageID
end

.table_nameObject



7
8
9
# File 'lib/msf/models/workflow_message.rb', line 7

def self.table_name
  :WorkflowMessages
end

Instance Method Details

#messageObject



28
29
30
# File 'lib/msf/models/workflow_message.rb', line 28

def message
  self.Message
end

#message_idObject



13
14
15
# File 'lib/msf/models/workflow_message.rb', line 13

def message_id
  self.MessageID
end

#message_kindObject



25
26
27
# File 'lib/msf/models/workflow_message.rb', line 25

def message_kind
  self.MessageKind
end

#processing_node_idObject



16
17
18
# File 'lib/msf/models/workflow_message.rb', line 16

def processing_node_id
  self.ProcessingNodeID
end

#processing_node_numberObject



19
20
21
# File 'lib/msf/models/workflow_message.rb', line 19

def processing_node_number
  self.ProcessingNodeNumber
end

#timeObject



22
23
24
# File 'lib/msf/models/workflow_message.rb', line 22

def time
  self.Time
end