Class: RepoTender::Sync::RepoPlan::Plan

Inherits:
Data
  • Object
show all
Defined in:
lib/repo_tender/sync/repo_plan.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#actionObject (readonly)

Returns the value of attribute action

Returns:

  • (Object)

    the current value of action



41
42
43
# File 'lib/repo_tender/sync/repo_plan.rb', line 41

def action
  @action
end

#reasonObject (readonly)

Returns the value of attribute reason

Returns:

  • (Object)

    the current value of reason



41
42
43
# File 'lib/repo_tender/sync/repo_plan.rb', line 41

def reason
  @reason
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



41
42
43
# File 'lib/repo_tender/sync/repo_plan.rb', line 41

def status
  @status
end