Class: ExecutingResultPending

Inherits:
Object
  • Object
show all
Defined in:
lib/onlyoffice_tcm_helper/models/sub_elements/executing_result_pending.rb

Overview

class is describe same RSpec::Core::Example::ExecutingResult with pending status

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pending_message: 'Pending exception') ⇒ ExecutingResultPending

Returns a new instance of ExecutingResultPending.



7
8
9
10
# File 'lib/onlyoffice_tcm_helper/models/sub_elements/executing_result_pending.rb', line 7

def initialize(pending_message: 'Pending exception')
  @started_at = Time.now
  @pending_message = pending_message
end

Instance Attribute Details

#pending_messageObject (readonly)

Returns the value of attribute pending_message.



5
6
7
# File 'lib/onlyoffice_tcm_helper/models/sub_elements/executing_result_pending.rb', line 5

def pending_message
  @pending_message
end

#started_atObject (readonly)

Returns the value of attribute started_at.



5
6
7
# File 'lib/onlyoffice_tcm_helper/models/sub_elements/executing_result_pending.rb', line 5

def started_at
  @started_at
end