Class: Apartment::TaskHelper::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/apartment/tasks/task_helper.rb

Overview

Captures outcome per tenant for aggregated reporting. Allows migrations to continue for remaining tenants even when one fails.

Instance Attribute Summary collapse

Instance Attribute Details

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



55
56
57
# File 'lib/apartment/tasks/task_helper.rb', line 55

def error
  @error
end

#successObject

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



55
56
57
# File 'lib/apartment/tasks/task_helper.rb', line 55

def success
  @success
end

#tenantObject

Returns the value of attribute tenant

Returns:

  • (Object)

    the current value of tenant



55
56
57
# File 'lib/apartment/tasks/task_helper.rb', line 55

def tenant
  @tenant
end