Module: ConvenientService::Common::Plugins::HasJSendResultDuckShortSyntax::Concern Private

Includes:
Support::Concern
Defined in:
lib/convenient_service/common/plugins/has_j_send_result_duck_short_syntax/concern.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0

Instance Method Summary collapse

Methods included from Support::Concern

included

Instance Method Details

#[](key) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns Can be any type.

Parameters:

  • key (String, Symbol)

Returns:

  • (Object)

    Can be any type.

Since:

  • 1.0.0



30
31
32
# File 'lib/convenient_service/common/plugins/has_j_send_result_duck_short_syntax/concern.rb', line 30

def [](key)
  data[key]
end

#not_ok?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 1.0.0



65
66
67
# File 'lib/convenient_service/common/plugins/has_j_send_result_duck_short_syntax/concern.rb', line 65

def not_ok?
  not_success?
end

#ok?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 1.0.0



58
59
60
# File 'lib/convenient_service/common/plugins/has_j_send_result_duck_short_syntax/concern.rb', line 58

def ok?
  success?
end

#ucConvenientService::Service::Plugins::HasJSendResult::Entities::Result::Plugins::HasJSendStatusAndAttributes::Entities::Code

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



51
52
53
# File 'lib/convenient_service/common/plugins/has_j_send_result_duck_short_syntax/concern.rb', line 51

def uc
  unsafe_code
end

#udConvenientService::Service::Plugins::HasJSendResult::Entities::Result::Plugins::HasJSendStatusAndAttributes::Entities::Data

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



37
38
39
# File 'lib/convenient_service/common/plugins/has_j_send_result_duck_short_syntax/concern.rb', line 37

def ud
  unsafe_data
end

#umConvenientService::Service::Plugins::HasJSendResult::Entities::Result::Plugins::HasJSendStatusAndAttributes::Entities::Message

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



44
45
46
# File 'lib/convenient_service/common/plugins/has_j_send_result_duck_short_syntax/concern.rb', line 44

def um
  unsafe_message
end