Method: UpGuard::NodeScan#to_hash
- Defined in:
- lib/upguard/NodeScan.rb
#to_hash ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/upguard/NodeScan.rb', line 42 def to_hash h = {} h['associated_id'] = self.associated_id h['category'] = self.category h['created_at'] = self.created_at h['data'] = self.data h['id'] = self.id h['label'] = self.label h['node_id'] = self.node_id h['scan_options'] = self. h['task_id'] = self.task_id h['tsv'] = self.tsv h['updated_at'] = self.updated_at return h end |