Module: ConvenientService::Service::Plugins::HasJSendResultStatusCheckShortSyntax::Concern

Includes:
ConvenientService::Support::Concern
Defined in:
lib/convenient_service/service/plugins/has_j_send_result_status_check_short_syntax/concern.rb

Class Method Summary collapse

Class Method Details

.error?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/convenient_service/service/plugins/has_j_send_result_status_check_short_syntax/concern.rb', line 21

def error?(...)
  result(...).error?
end

.failure?Boolean

Returns:

  • (Boolean)


28
29
30
# File 'lib/convenient_service/service/plugins/has_j_send_result_status_check_short_syntax/concern.rb', line 28

def failure?(...)
  result(...).failure?
end

.not_error?Boolean

Returns:

  • (Boolean)


42
43
44
# File 'lib/convenient_service/service/plugins/has_j_send_result_status_check_short_syntax/concern.rb', line 42

def not_error?(...)
  result(...).not_error?
end

.not_failure?Boolean

Returns:

  • (Boolean)


49
50
51
# File 'lib/convenient_service/service/plugins/has_j_send_result_status_check_short_syntax/concern.rb', line 49

def not_failure?(...)
  result(...).not_failure?
end

.not_ok?Boolean

Returns:

  • (Boolean)


63
64
65
# File 'lib/convenient_service/service/plugins/has_j_send_result_status_check_short_syntax/concern.rb', line 63

def not_ok?(...)
  result(...).not_success?
end

.not_success?Boolean

Returns:

  • (Boolean)


35
36
37
# File 'lib/convenient_service/service/plugins/has_j_send_result_status_check_short_syntax/concern.rb', line 35

def not_success?(...)
  result(...).not_success?
end

.ok?Boolean

Returns:

  • (Boolean)


56
57
58
# File 'lib/convenient_service/service/plugins/has_j_send_result_status_check_short_syntax/concern.rb', line 56

def ok?(...)
  result(...).success?
end

.success?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/convenient_service/service/plugins/has_j_send_result_status_check_short_syntax/concern.rb', line 14

def success?(...)
  result(...).success?
end