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
- .error? ⇒ Boolean
- .failure? ⇒ Boolean
- .not_error? ⇒ Boolean
- .not_failure? ⇒ Boolean
- .not_ok? ⇒ Boolean
- .not_success? ⇒ Boolean
- .ok? ⇒ Boolean
- .success? ⇒ Boolean
Class Method Details
.error? ⇒ Boolean
26 27 28 |
# File 'lib/convenient_service/service/plugins/has_j_send_result_status_check_short_syntax/concern.rb', line 26 def error?(...) result(...).error? end |
.failure? ⇒ Boolean
33 34 35 |
# File 'lib/convenient_service/service/plugins/has_j_send_result_status_check_short_syntax/concern.rb', line 33 def failure?(...) result(...).failure? end |
.not_error? ⇒ Boolean
47 48 49 |
# File 'lib/convenient_service/service/plugins/has_j_send_result_status_check_short_syntax/concern.rb', line 47 def not_error?(...) result(...).not_error? end |
.not_failure? ⇒ Boolean
54 55 56 |
# File 'lib/convenient_service/service/plugins/has_j_send_result_status_check_short_syntax/concern.rb', line 54 def not_failure?(...) result(...).not_failure? end |
.not_ok? ⇒ Boolean
68 69 70 |
# File 'lib/convenient_service/service/plugins/has_j_send_result_status_check_short_syntax/concern.rb', line 68 def not_ok?(...) result(...).not_success? end |
.not_success? ⇒ Boolean
40 41 42 |
# File 'lib/convenient_service/service/plugins/has_j_send_result_status_check_short_syntax/concern.rb', line 40 def not_success?(...) result(...).not_success? end |
.ok? ⇒ Boolean
61 62 63 |
# File 'lib/convenient_service/service/plugins/has_j_send_result_status_check_short_syntax/concern.rb', line 61 def ok?(...) result(...).success? end |
.success? ⇒ Boolean
19 20 21 |
# File 'lib/convenient_service/service/plugins/has_j_send_result_status_check_short_syntax/concern.rb', line 19 def success?(...) result(...).success? end |