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)


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

def action_attempt_id
  @action_attempt_id
end

#action_typeString

Creating a noise threshold is pending. Known values:

  • CREATE_NOISE_THRESHOLD

Returns:

  • (String)


1541
1542
1543
# File 'lib/seam/resources/action_attempt.rb', line 1541

def action_type
  @action_type
end

#statusString

Known values:

  • success
  • pending
  • error

Returns:

  • (String)


1547
1548
1549
# File 'lib/seam/resources/action_attempt.rb', line 1547

def status
  @status
end

Instance Method Details

#errorError?

Error associated with the action.

Returns:



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

resource_accessor :error, Error

#resultResult?

Result of the action.

Returns:



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

resource_accessor :result, Result