Class: TrackSet

Inherits:
TrackSetOrigin show all
Defined in:
lib/ting_model/track_set.rb

Class Method Summary collapse

Methods inherited from TrackSetOrigin

hashlize, #is_crawler_disp, #is_publish_disp, #to_topic_hash, #user_source_disp

Methods included from TrackSetExtender

#del_cache, #fetch, #mfetch

Class Method Details

.gtn(key) ⇒ Object



10
11
12
# File 'lib/ting_model/track_set.rb', line 10

def self.gtn(key)
  TrackSetNode.seek(key).table_name
end

.shard(key) ⇒ Object



6
7
8
# File 'lib/ting_model/track_set.rb', line 6

def self.shard(key)
  Object.const_get(TrackSetNode.seek(key).class_name)
end

.stn(key) ⇒ Object



14
15
16
17
# File 'lib/ting_model/track_set.rb', line 14

def self.stn(key)
  self.table_name = self.gtn(key)
  self
end