Exception: Seam::ActionAttemptError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/seam/wait_for_action_attempt.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, action_attempt) ⇒ ActionAttemptError

Returns a new instance of ActionAttemptError.



7
8
9
10
# File 'lib/seam/wait_for_action_attempt.rb', line 7

def initialize(message, action_attempt)
  super(message)
  @action_attempt = action_attempt
end

Instance Attribute Details

#action_attemptObject (readonly)

Returns the value of attribute action_attempt.



5
6
7
# File 'lib/seam/wait_for_action_attempt.rb', line 5

def action_attempt
  @action_attempt
end

Instance Method Details

#nameObject



12
13
14
# File 'lib/seam/wait_for_action_attempt.rb', line 12

def name
  self.class.name
end