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
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
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
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
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
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
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
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
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 |