Module: Flatter::Mapper::ModelName

Included in:
Flatter::Mapper
Defined in:
lib/flatter/mapper/model_name.rb

Instance Method Summary collapse

Instance Method Details

#model_nameObject



3
4
5
# File 'lib/flatter/mapper/model_name.rb', line 3

def model_name
  target.class.try(:model_name) || super
end