Module: ConvenientService::Common::Plugins::HasJSendResultDuckShortSyntax::Concern
- Includes:
- Support::Concern
- Defined in:
- lib/convenient_service/common/plugins/has_j_send_result_duck_short_syntax/concern.rb
Instance Method Summary collapse
-
#[](key) ⇒ Object
Can be any type.
- #not_ok? ⇒ Boolean
- #ok? ⇒ Boolean
- #uc ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result::Plugins::HasJSendStatusAndAttributes::Entities::Code
- #ud ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result::Plugins::HasJSendStatusAndAttributes::Entities::Data
- #um ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result::Plugins::HasJSendStatusAndAttributes::Entities::Message
Instance Method Details
#[](key) ⇒ Object
Returns Can be any type.
25 26 27 |
# File 'lib/convenient_service/common/plugins/has_j_send_result_duck_short_syntax/concern.rb', line 25 def [](key) data[key] end |
#not_ok? ⇒ Boolean
60 61 62 |
# File 'lib/convenient_service/common/plugins/has_j_send_result_duck_short_syntax/concern.rb', line 60 def not_ok? not_success? end |
#ok? ⇒ Boolean
53 54 55 |
# File 'lib/convenient_service/common/plugins/has_j_send_result_duck_short_syntax/concern.rb', line 53 def ok? success? end |
#uc ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result::Plugins::HasJSendStatusAndAttributes::Entities::Code
46 47 48 |
# File 'lib/convenient_service/common/plugins/has_j_send_result_duck_short_syntax/concern.rb', line 46 def uc unsafe_code end |
#ud ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result::Plugins::HasJSendStatusAndAttributes::Entities::Data
32 33 34 |
# File 'lib/convenient_service/common/plugins/has_j_send_result_duck_short_syntax/concern.rb', line 32 def ud unsafe_data end |
#um ⇒ ConvenientService::Service::Plugins::HasJSendResult::Entities::Result::Plugins::HasJSendStatusAndAttributes::Entities::Message
39 40 41 |
# File 'lib/convenient_service/common/plugins/has_j_send_result_duck_short_syntax/concern.rb', line 39 def um end |