class Album

Public Class Methods

gtn(key) click to toggle source
# File lib/ting_model/album.rb, line 10
def self.gtn(key)
  AlbumNode.seek(key).table_name
end
shard(key) click to toggle source
# File lib/ting_model/album.rb, line 6
def self.shard(key)
  Object.const_get(AlbumNode.seek(key).class_name)
end
stn(key) click to toggle source
# File lib/ting_model/album.rb, line 14
def self.stn(key)
  self.table_name = self.gtn(key)
  self
end