Class: Seam::Resources::ActionAttempt::LockDoor

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

Overview

Locking a door 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)


41
42
43
# File 'lib/seam/resources/action_attempt.rb', line 41

def action_attempt_id
  @action_attempt_id
end

#action_typeString

Action attempt to track the status of locking a door. Known values:

  • LOCK_DOOR

Returns:

  • (String)


46
47
48
# File 'lib/seam/resources/action_attempt.rb', line 46

def action_type
  @action_type
end

#statusString

Known values:

  • success
  • pending
  • error

Returns:

  • (String)


52
53
54
# File 'lib/seam/resources/action_attempt.rb', line 52

def status
  @status
end

Instance Method Details

#errorError?

Error associated with the action.

Returns:



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

resource_accessor :error, Error

#resultResult?

Result of the action.

Returns:



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

resource_accessor :result, Result