Class: Followerx2Group
- Inherits:
-
Followerx2GroupOrigin
- Object
- ActiveRecord::Base
- Followerx2GroupOrigin
- Followerx2Group
- Defined in:
- lib/ting_model/followerx2_group.rb
Class Method Summary collapse
Class Method Details
.gtn(key) ⇒ Object
10 11 12 |
# File 'lib/ting_model/followerx2_group.rb', line 10 def self.gtn(key) Followerx2GroupNode.seek(key).table_name end |
.shard(key) ⇒ Object
6 7 8 |
# File 'lib/ting_model/followerx2_group.rb', line 6 def self.shard(key) Object.const_get(Followerx2GroupNode.seek(key).class_name) end |
.stn(key) ⇒ Object
14 15 16 17 |
# File 'lib/ting_model/followerx2_group.rb', line 14 def self.stn(key) self.table_name = self.gtn(key) self end |