Module: ConvenientService::Examples::Standard::RequestParams::Utils::Object

Defined in:
lib/convenient_service/examples/standard/request_params/utils/object.rb,
lib/convenient_service/examples/standard/request_params/utils/object/blank.rb,
lib/convenient_service/examples/standard/request_params/utils/object/present.rb

Defined Under Namespace

Classes: Blank, Present

Class Method Summary collapse

Class Method Details

.blank?(object) ⇒ Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/convenient_service/examples/standard/request_params/utils/object.rb', line 13

def blank?(object)
  Blank.call(object)
end

.present?(object) ⇒ Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/convenient_service/examples/standard/request_params/utils/object.rb', line 17

def present?(object)
  Present.call(object)
end