Method: UpGuard::Job#to_hash
- Defined in:
- lib/upguard/Job.rb
#to_hash ⇒ Object
27 28 29 30 31 32 33 34 35 36 |
# File 'lib/upguard/Job.rb', line 27 def to_hash h = {} h['id'] = self.id h['organisation_id'] = self.organisation_id h['source_id'] = self.source_id h['source_name'] = self.source_name h['source_type'] = self.source_type h['status'] = self.status return h end |