Class: APN::Base

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

Overview

:nodoc:

Direct Known Subclasses

Device, Notification

Class Method Summary collapse

Class Method Details

.table_nameObject

:nodoc:



4
5
6
# File 'lib/apn_on_rails/app/models/apn/base.rb', line 4

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