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)


1131
1132
1133
# File 'lib/seam/resources/action_attempt.rb', line 1131

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)


1136
1137
1138
# File 'lib/seam/resources/action_attempt.rb', line 1136

def action_type
  @action_type
end

#statusString

Known values:

  • success
  • pending
  • error

Returns:

  • (String)


1142
1143
1144
# File 'lib/seam/resources/action_attempt.rb', line 1142

def status
  @status
end

Instance Method Details

#errorError?

Error associated with the action. Only present when status is error; nil otherwise.

Returns:



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

resource_accessor :error, Error

#resultResult?

Result of the action. Only present when status is success; nil otherwise.

Returns:



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

resource_accessor :result, Result