Class: SprintIssueChangeData
- Inherits:
-
Object
- Object
- SprintIssueChangeData
- Includes:
- ValueEquality
- Defined in:
- lib/jirametrics/sprint_issue_change_data.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#estimate ⇒ Object
readonly
Returns the value of attribute estimate.
-
#issue ⇒ Object
readonly
Returns the value of attribute issue.
-
#time ⇒ Object
readonly
Returns the value of attribute time.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(time:, action:, value:, issue:, estimate:) ⇒ SprintIssueChangeData
constructor
A new instance of SprintIssueChangeData.
- #inspect ⇒ Object
Methods included from ValueEquality
Constructor Details
#initialize(time:, action:, value:, issue:, estimate:) ⇒ SprintIssueChangeData
Returns a new instance of SprintIssueChangeData.
10 11 12 13 14 15 16 |
# File 'lib/jirametrics/sprint_issue_change_data.rb', line 10 def initialize time:, action:, value:, issue:, estimate: @time = time @action = action @value = value @issue = issue @estimate = estimate end |
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
8 9 10 |
# File 'lib/jirametrics/sprint_issue_change_data.rb', line 8 def action @action end |
#estimate ⇒ Object (readonly)
Returns the value of attribute estimate.
8 9 10 |
# File 'lib/jirametrics/sprint_issue_change_data.rb', line 8 def estimate @estimate end |
#issue ⇒ Object (readonly)
Returns the value of attribute issue.
8 9 10 |
# File 'lib/jirametrics/sprint_issue_change_data.rb', line 8 def issue @issue end |
#time ⇒ Object (readonly)
Returns the value of attribute time.
8 9 10 |
# File 'lib/jirametrics/sprint_issue_change_data.rb', line 8 def time @time end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
8 9 10 |
# File 'lib/jirametrics/sprint_issue_change_data.rb', line 8 def value @value end |
Instance Method Details
#inspect ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'lib/jirametrics/sprint_issue_change_data.rb', line 18 def inspect result = +'' result << 'SprintIssueChangeData(' result << instance_variables.collect do |variable| "#{variable}=#{instance_variable_get(variable).inspect}" end.sort.join(', ') result << ')' result end |