Class: Seam::Resources::ActionAttempt

Inherits:
BaseResource 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

Attributes inherited from BaseResource

#client, #data

Instance Method Summary collapse

Methods inherited from BaseResource

#[], date_accessor, #initialize, #inspect, load_from_response, resource_accessor, resource_accessors, resource_list_accessor, resource_list_accessors, #update_from_response

Constructor Details

This class inherits a constructor from Seam::Resources::BaseResource

Instance Attribute Details

#action_attempt_idString

ID of the action attempt.

Returns:

  • (String)


502
503
504
# File 'lib/seam/resources/action_attempt.rb', line 502

def action_attempt_id
  @action_attempt_id
end

#action_typeString

Returns:

  • (String)


504
505
506
# File 'lib/seam/resources/action_attempt.rb', line 504

def action_type
  @action_type
end

#statusString

Returns:

  • (String)


506
507
508
# File 'lib/seam/resources/action_attempt.rb', line 506

def status
  @status
end

Instance Method Details

#errorError

Error associated with the action.

Returns:



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

resource_accessor :error, Error

#resultResult

Returns:



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

resource_accessor :result, Result