Class: Jira::Auto::Tool::RequestBuilder::SprintStateUpdater
- Inherits:
-
Jira::Auto::Tool::RequestBuilder
- Object
- Jira::Auto::Tool::RequestBuilder
- Jira::Auto::Tool::RequestBuilder::SprintStateUpdater
- Defined in:
- lib/jira/auto/tool/request_builder/sprint_state_updater.rb
Constant Summary collapse
- ATTRIBUTES_TO_INCLUDE_FOR_STATE_UPDATE =
%i[ id self name startDate endDate originBoardId ].freeze
Instance Attribute Summary collapse
-
#new_state ⇒ Object
readonly
Returns the value of attribute new_state.
-
#sprint ⇒ Object
readonly
Returns the value of attribute sprint.
Attributes inherited from Jira::Auto::Tool::RequestBuilder
Instance Method Summary collapse
-
#initialize(jira_client, sprint:, new_state:) ⇒ SprintStateUpdater
constructor
A new instance of SprintStateUpdater.
Methods inherited from Jira::Auto::Tool::RequestBuilder
Constructor Details
#initialize(jira_client, sprint:, new_state:) ⇒ SprintStateUpdater
Returns a new instance of SprintStateUpdater.
10 11 12 13 14 15 |
# File 'lib/jira/auto/tool/request_builder/sprint_state_updater.rb', line 10 def initialize(jira_client, sprint:, new_state:) super(jira_client) @sprint = sprint @new_state = new_state end |
Instance Attribute Details
#new_state ⇒ Object (readonly)
Returns the value of attribute new_state.
8 9 10 |
# File 'lib/jira/auto/tool/request_builder/sprint_state_updater.rb', line 8 def new_state @new_state end |
#sprint ⇒ Object (readonly)
Returns the value of attribute sprint.
8 9 10 |
# File 'lib/jira/auto/tool/request_builder/sprint_state_updater.rb', line 8 def sprint @sprint end |