Class: Mortise::Issue
- Inherits:
-
Object
- Object
- Mortise::Issue
- Defined in:
- lib/mortise/issue.rb
Instance Attribute Summary collapse
-
#bp_id ⇒ Object
readonly
Returns the value of attribute bp_id.
-
#certainty ⇒ Object
readonly
Returns the value of attribute certainty.
-
#error_description ⇒ Object
readonly
Returns the value of attribute error_description.
-
#error_snippet ⇒ Object
readonly
Returns the value of attribute error_snippet.
-
#error_title ⇒ Object
readonly
Returns the value of attribute error_title.
-
#position ⇒ Object
readonly
Returns the value of attribute position.
-
#priority ⇒ Object
readonly
Returns the value of attribute priority.
-
#result_title ⇒ Object
readonly
Returns the value of attribute result_title.
-
#signature ⇒ Object
readonly
Returns the value of attribute signature.
-
#standards ⇒ Object
readonly
Returns the value of attribute standards.
-
#t_id ⇒ Object
readonly
Returns the value of attribute t_id.
-
#xpath ⇒ Object
readonly
Returns the value of attribute xpath.
Instance Method Summary collapse
-
#initialize(data) ⇒ Issue
constructor
A new instance of Issue.
Constructor Details
#initialize(data) ⇒ Issue
Returns a new instance of Issue.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/mortise/issue.rb', line 7 def initialize(data) @bp_id = data['bpID'] @certainty = data['certainty'] @error_description = data['errorDescription'] @error_snippet = data['errorSnippet'] @error_title = data['errorTitle'] @position = data['position'] @priority = data['priority'] @result_title = data['resultTitle'] @signature = data['signature'] @standards = data['standards'] @t_id = data['tID'] @xpath = data['xpath'] end |
Instance Attribute Details
#bp_id ⇒ Object (readonly)
Returns the value of attribute bp_id.
3 4 5 |
# File 'lib/mortise/issue.rb', line 3 def bp_id @bp_id end |
#certainty ⇒ Object (readonly)
Returns the value of attribute certainty.
3 4 5 |
# File 'lib/mortise/issue.rb', line 3 def certainty @certainty end |
#error_description ⇒ Object (readonly)
Returns the value of attribute error_description.
3 4 5 |
# File 'lib/mortise/issue.rb', line 3 def error_description @error_description end |
#error_snippet ⇒ Object (readonly)
Returns the value of attribute error_snippet.
3 4 5 |
# File 'lib/mortise/issue.rb', line 3 def error_snippet @error_snippet end |
#error_title ⇒ Object (readonly)
Returns the value of attribute error_title.
3 4 5 |
# File 'lib/mortise/issue.rb', line 3 def error_title @error_title end |
#position ⇒ Object (readonly)
Returns the value of attribute position.
3 4 5 |
# File 'lib/mortise/issue.rb', line 3 def position @position end |
#priority ⇒ Object (readonly)
Returns the value of attribute priority.
3 4 5 |
# File 'lib/mortise/issue.rb', line 3 def priority @priority end |
#result_title ⇒ Object (readonly)
Returns the value of attribute result_title.
3 4 5 |
# File 'lib/mortise/issue.rb', line 3 def result_title @result_title end |
#signature ⇒ Object (readonly)
Returns the value of attribute signature.
3 4 5 |
# File 'lib/mortise/issue.rb', line 3 def signature @signature end |
#standards ⇒ Object (readonly)
Returns the value of attribute standards.
3 4 5 |
# File 'lib/mortise/issue.rb', line 3 def standards @standards end |
#t_id ⇒ Object (readonly)
Returns the value of attribute t_id.
3 4 5 |
# File 'lib/mortise/issue.rb', line 3 def t_id @t_id end |
#xpath ⇒ Object (readonly)
Returns the value of attribute xpath.
3 4 5 |
# File 'lib/mortise/issue.rb', line 3 def xpath @xpath end |