Class: CCEngine::Issue
- Inherits:
-
Object
- Object
- CCEngine::Issue
- Defined in:
- lib/cc_engine/issue.rb
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'lib/cc_engine/issue.rb', line 18 def to_hash { type: "issue", check_name: check_name, description: description, categories: categories, location: location.to_hash }.merge(remediation_points_hash) end |
#to_json ⇒ Object
14 15 16 |
# File 'lib/cc_engine/issue.rb', line 14 def to_json to_hash.to_json end |