Class: Seam::Resources::ActionAttempt::ResetSandboxWorkspace

Inherits:
ActionAttempt
  • Object
show all
Defined in:
lib/seam/resources/action_attempt.rb

Overview

Resetting a sandbox workspace is pending.

Defined Under Namespace

Classes: Error, Result

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#action_attempt_idString

ID of the action attempt.

Returns:

  • (String)


1103
1104
1105
# File 'lib/seam/resources/action_attempt.rb', line 1103

def action_attempt_id
  @action_attempt_id
end

#action_typeString

Action attempt to track the status of resetting a sandbox workspace. Known values:

  • RESET_SANDBOX_WORKSPACE

Returns:

  • (String)


1108
1109
1110
# File 'lib/seam/resources/action_attempt.rb', line 1108

def action_type
  @action_type
end

#statusString

Known values:

  • success
  • pending
  • error

Returns:

  • (String)


1114
1115
1116
# File 'lib/seam/resources/action_attempt.rb', line 1114

def status
  @status
end

Instance Method Details

#errorError?

Error associated with the action.

Returns:



1097
# File 'lib/seam/resources/action_attempt.rb', line 1097

resource_accessor :error, Error

#resultResult?

Result of the action.

Returns:



1100
# File 'lib/seam/resources/action_attempt.rb', line 1100

resource_accessor :result, Result