Class: JsonApiClient::IdValueFormatter

Inherits:
ValueFormatter show all
Defined in:
lib/json_api_client/formatter.rb

Class Method Summary collapse

Methods inherited from ValueFormatter

unformat, value_formatter_for

Methods inherited from Formatter

formatter_for, unformat

Class Method Details

.format(raw_value) ⇒ Object



111
112
113
114
# File 'lib/json_api_client/formatter.rb', line 111

def format(raw_value)
  return if raw_value.nil?
  raw_value.to_s
end