Class: BluepanClient::GuardNull
- Inherits:
-
Object
- Object
- BluepanClient::GuardNull
- Defined in:
- lib/bluepan_client/services/guard_null.rb
Class Method Summary collapse
Class Method Details
.call(value) ⇒ Object
4 5 6 |
# File 'lib/bluepan_client/services/guard_null.rb', line 4 def self.call(value) value == "null" ? nil : value end |