class JsonApiClient::ValueFormatter

Public Class Methods

format(raw_value) click to toggle source
Calls superclass method JsonApiClient::Formatter::format
# File lib/json_api_client/formatter.rb, line 59
def format(raw_value)
  super(raw_value)
end
unformat(value) click to toggle source
Calls superclass method JsonApiClient::Formatter::unformat
# File lib/json_api_client/formatter.rb, line 63
def unformat(value)
  super(value)
end
value_formatter_for(type) click to toggle source
# File lib/json_api_client/formatter.rb, line 67
def value_formatter_for(type)
  formatter_name = "#{type.to_s.camelize}Value"
  formatter_for(formatter_name)
end