Class: Seam::Resources::ActionAttempt::SimulateKeypadCodeEntry

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

Overview

Simulating a keypad code entry 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)


1244
1245
1246
# File 'lib/seam/resources/action_attempt.rb', line 1244

def action_attempt_id
  @action_attempt_id
end

#action_typeString

Action attempt to track the status of simulating a keypad code entry. Known values:

  • SIMULATE_KEYPAD_CODE_ENTRY

Returns:

  • (String)


1249
1250
1251
# File 'lib/seam/resources/action_attempt.rb', line 1249

def action_type
  @action_type
end

#statusString

Known values:

  • success
  • pending
  • error

Returns:

  • (String)


1255
1256
1257
# File 'lib/seam/resources/action_attempt.rb', line 1255

def status
  @status
end

Instance Method Details

#errorError?

Error associated with the action.

Returns:



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

resource_accessor :error, Error

#resultResult?

Result of the action.

Returns:



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

resource_accessor :result, Result