Method: UpGuard::OperatingSystem#to_hash
- Defined in:
- lib/upguard/OperatingSystem.rb
#to_hash ⇒ Object
21 22 23 24 25 26 27 28 |
# File 'lib/upguard/OperatingSystem.rb', line 21 def to_hash h = {} h['description'] = self.description h['id'] = self.id h['name'] = self.name h['operating_system_family_id'] = self. return h end |