Class: RepoTender::Sync::RepoPlan::Plan
- Inherits:
-
Data
- Object
- Data
- RepoTender::Sync::RepoPlan::Plan
- Defined in:
- lib/repo_tender/sync/repo_plan.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(action:, status:, reason: nil) ⇒ Plan
constructor
A new instance of Plan.
Constructor Details
#initialize(action:, status:, reason: nil) ⇒ Plan
Returns a new instance of Plan.
42 43 44 |
# File 'lib/repo_tender/sync/repo_plan.rb', line 42 def initialize(action:, status:, reason: nil) super end |
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action
41 42 43 |
# File 'lib/repo_tender/sync/repo_plan.rb', line 41 def action @action end |
#reason ⇒ Object (readonly)
Returns the value of attribute reason
41 42 43 |
# File 'lib/repo_tender/sync/repo_plan.rb', line 41 def reason @reason end |
#status ⇒ Object (readonly)
Returns the value of attribute status
41 42 43 |
# File 'lib/repo_tender/sync/repo_plan.rb', line 41 def status @status end |