Class: Seam::Resources::ActionAttempt::ConfigureAutoLock

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

Overview

Configuring the auto-lock 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)


1411
1412
1413
# File 'lib/seam/resources/action_attempt.rb', line 1411

def action_attempt_id
  @action_attempt_id
end

#action_typeString

Action attempt to track the status of configuring the auto-lock on a lock. Known values:

  • CONFIGURE_AUTO_LOCK

Returns:

  • (String)


1416
1417
1418
# File 'lib/seam/resources/action_attempt.rb', line 1416

def action_type
  @action_type
end

#statusString

Known values:

  • success
  • pending
  • error

Returns:

  • (String)


1422
1423
1424
# File 'lib/seam/resources/action_attempt.rb', line 1422

def status
  @status
end

Instance Method Details

#errorError?

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

Returns:



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

resource_accessor :error, Error

#resultResult?

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

Returns:



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

resource_accessor :result, Result