Class: Seam::Resources::ActionAttempt::DeleteAccessCode

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)


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

def action_attempt_id
  @action_attempt_id
end

#action_typeString

Deleting an access code is pending. Known values:

  • DELETE_ACCESS_CODE

Returns:

  • (String)


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

def action_type
  @action_type
end

#statusString

Known values:

  • success
  • pending
  • error

Returns:

  • (String)


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

def status
  @status
end

Instance Method Details

#errorError?

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

Returns:



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

resource_accessor :error, Error

#resultResult?

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

Returns:



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

resource_accessor :result, Result