Method: ActiveData::Config#initialize
- Defined in:
- lib/active_data/config.rb
#initialize ⇒ Config
Returns a new instance of Config.
12 13 14 15 16 17 18 19 |
# File 'lib/active_data/config.rb', line 12 def initialize @include_root_in_json = false @i18n_scope = :active_data @logger = Logger.new(STDERR) @primary_attribute = :id @_normalizers = {} @_typecasters = {} end |