Class: C2dm::Base

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

Overview

:nodoc:

Direct Known Subclasses

Device, Notification

Class Method Summary collapse

Class Method Details

.table_nameObject

:nodoc:



4
5
6
# File 'lib/c2dm_on_rails/app/models/c2dm/base.rb', line 4

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