Class: Netfira::WebConnect::Model::Support
- Inherits:
-
Netfira::WebConnect::Model
- Object
- ActiveRecord::Base
- Netfira::WebConnect::Model
- Netfira::WebConnect::Model::Support
- Defined in:
- lib/netfira/web_connect/model.rb,
lib/netfira/web_connect/model/support.rb
Direct Known Subclasses
Netfira::WebConnect::Models::Session, Netfira::WebConnect::Models::Setting, Netfira::WebConnect::Models::Shop, Netfira::WebConnect::Models::Table
Class Method Summary collapse
Methods inherited from Netfira::WebConnect::Model
#dispatch_event, plural_name, single_name
Class Method Details
.table_name ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/netfira/web_connect/model/support.rb', line 4 def self.table_name @table_name ||= if self == Model::Support Models::Table.table_name else Netfira::WebConnect.db_table_prefix('_' << name.demodulize.underscore.pluralize).to_s end end |