class JsonApiClient::KeyFormatter

Public Class Methods

format(key) click to toggle source
Calls superclass method JsonApiClient::Formatter::format
# File lib/json_api_client/formatter.rb, line 27
def format(key)
  super
end
format_keys(hash) click to toggle source
# File lib/json_api_client/formatter.rb, line 31
def format_keys(hash)
  Hash[
    hash.map do |key, value|
      [format(key).to_sym, value]
    end
  ]
end
unformat(formatted_key) click to toggle source
Calls superclass method JsonApiClient::Formatter::unformat
# File lib/json_api_client/formatter.rb, line 39
def unformat(formatted_key)
  super
end