Method: UpGuard::EventAction#to_hash

Defined in:
lib/upguard/EventAction.rb

#to_hashObject



27
28
29
30
31
32
33
34
35
36
# File 'lib/upguard/EventAction.rb', line 27

def to_hash
  h = {}
  h['id'] = self.id
  h['name'] = self.name
  h['status'] = self.status
  h['type'] = self.type
  h['variables'] = self.variables
  h['view'] = self.view
  return h
end