Class: OmniSocials::NotGiven
- Inherits:
-
Object
- Object
- OmniSocials::NotGiven
- Defined in:
- lib/omnisocials/internal.rb
Overview
Sentinel distinguishing "omitted" from an explicit nil.
A few endpoints treat null as meaningful (for example media.update(folder_id: nil) moves a file to the root folder), so nil cannot double as "not provided" there. Use OmniSocials::NOT_GIVEN as the default for those parameters.
Instance Method Summary collapse
- #inspect ⇒ Object (also: #to_s)
Instance Method Details
#inspect ⇒ Object Also known as: to_s
14 15 16 |
# File 'lib/omnisocials/internal.rb', line 14 def inspect "NOT_GIVEN" end |