Class: Seam::Resources::ActionAttempt::CreateNoiseThreshold

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

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)


1539
1540
1541
# File 'lib/seam/resources/action_attempt.rb', line 1539

def action_attempt_id
  @action_attempt_id
end

#action_typeString

Creating a noise threshold is pending. Known values:

  • CREATE_NOISE_THRESHOLD

Returns:

  • (String)


1544
1545
1546
# File 'lib/seam/resources/action_attempt.rb', line 1544

def action_type
  @action_type
end

#statusString

Known values:

  • success
  • pending
  • error

Returns:

  • (String)


1550
1551
1552
# File 'lib/seam/resources/action_attempt.rb', line 1550

def status
  @status
end

Instance Method Details

#errorError?

Error associated with the action.

Returns:



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

resource_accessor :error, Error

#resultResult?

Result of the action.

Returns:



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

resource_accessor :result, Result