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

App, Device, DeviceGrouping, Group, GroupNotification, Notification, PullNotification

Class Method Summary (collapse)

Class Method Details

+ (Object) table_name

: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