Method: UpGuard::NodeGroup#to_hash

Defined in:
lib/upguard/NodeGroup.rb

#to_hashObject



48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# File 'lib/upguard/NodeGroup.rb', line 48

def to_hash
  h = {}
  h['created_at'] = self.created_at
  h['created_by'] = self.created_by
  h['description'] = self.description
  h['diff_notify'] = self.diff_notify
  h['external_id'] = self.external_id
  h['id'] = self.id
  h['name'] = self.name
  h['node_rules'] = self.node_rules
  h['scan_options'] = self.scan_options
  h['search_query'] = self.search_query
  h['status'] = self.status
  h['updated_at'] = self.updated_at
  h['updated_by'] = self.updated_by
  return h
end