Class: JSONAPI::Consumer::IdValueFormatter
- Inherits:
-
ValueFormatter
- Object
- Formatter
- ValueFormatter
- JSONAPI::Consumer::IdValueFormatter
- Defined in:
- lib/jsonapi/consumer/formatter.rb
Class Method Summary collapse
Methods inherited from ValueFormatter
Methods inherited from Formatter
Class Method Details
.format(raw_value) ⇒ Object
109 110 111 112 |
# File 'lib/jsonapi/consumer/formatter.rb', line 109 def format(raw_value) return if raw_value.nil? raw_value.to_s end |