Module: RightScale::OperationResultHelper

Included in:
AgentManager, IdempotentRequest
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



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

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

#continue_result(*args) ⇒ Object



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

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

#error_result(*args) ⇒ Object



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

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

#non_delivery_result(*args) ⇒ Object



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

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

#result_from(*args) ⇒ Object



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

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

#retry_result(*args) ⇒ Object



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

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

#success_result(*args) ⇒ Object



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

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