Class: RemoteRecord::Transformers::SnakeCase

Inherits:
Base
  • Object
show all
Defined in:
lib/remote_record/transformers/snake_case.rb

Overview

Converts keys to snake case.

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from RemoteRecord::Transformers::Base

Instance Method Details

#transformObject



7
8
9
# File 'lib/remote_record/transformers/snake_case.rb', line 7

def transform
  convert_hash_keys(@data)
end