Module: RightScale::OperationResultHelper

Included in:
AgentManager, RetryableRequest, Sender
Defined in:
lib/right_agent/operation_result.rb

Overview

Helper module to simplify result construction

Instance Method Summary collapse

Instance Method Details

#cancel_result(*args) ⇒ Object



295
# File 'lib/right_agent/operation_result.rb', line 295

def cancel_result(*args) OperationResult.cancel(*args) end

#continue_result(*args) ⇒ Object



292
# File 'lib/right_agent/operation_result.rb', line 292

def continue_result(*args) OperationResult.continue(*args) end

#error_result(*args) ⇒ Object



291
# File 'lib/right_agent/operation_result.rb', line 291

def error_result(*args) OperationResult.error(*args) end

#non_delivery_result(*args) ⇒ Object



294
# File 'lib/right_agent/operation_result.rb', line 294

def non_delivery_result(*args) OperationResult.non_delivery(*args) end

#result_from(*args) ⇒ Object



296
# File 'lib/right_agent/operation_result.rb', line 296

def result_from(*args) OperationResult.from_results(*args) end

#retry_result(*args) ⇒ Object



293
# File 'lib/right_agent/operation_result.rb', line 293

def retry_result(*args) OperationResult.retry(*args) end

#success_result(*args) ⇒ Object



290
# File 'lib/right_agent/operation_result.rb', line 290

def success_result(*args) OperationResult.success(*args) end