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

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

Defined Under Namespace

Classes: Blank, Present

Class Method Summary collapse

Class Method Details

.blank?(object) ⇒ Boolean

Returns:

  • (Boolean)


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

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

.present?(object) ⇒ Boolean

Returns:

  • (Boolean)


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

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