Class: APN::Base

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/apn_on_rails/app/models/apn/base.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.table_nameObject

:nodoc:


6
7
8
# File 'lib/apn_on_rails/app/models/apn/base.rb', line 6

def self.table_name # :nodoc:
  self.to_s.gsub("::", "_").tableize
end