Class: Preneeds::Base

Inherits:
Object
  • Object
show all
Extended by:
ActiveModel::Naming
Defined in:
app/models/preneeds/base.rb

Overview

Parent class for other Preneeds Burial form related models Should not be initialized directly

Instance Method Summary collapse

Instance Method Details

#as_json(options = {}) ⇒ Object

Override ‘as_json`



16
17
18
# File 'app/models/preneeds/base.rb', line 16

def as_json(options = {})
  super(options).deep_transform_keys { |key| key.camelize(:lower) }
end