Sha256: 60d18bcf27e18b2c2af528784422ffe43c1545358cbf5cc538f6ef01cea066ee
Contents?: true
Size: 490 Bytes
Versions: 65
Compression:
Stored size: 490 Bytes
Contents
require "fsr/database" module FSR module Database module CallLimit DB = Sequel.connect("sqlite:///" + File.join(FSR::FS_DB_PATH, "call_limit.db")) class LimitData < Sequel::Model end LimitData.set_dataset :limit_data class DbData < Sequel::Model end DbData.set_dataset :db_data class GroupData < Sequel::Model end GroupData.set_dataset :group_data LimitData.db, DbData.db, GroupData.db = [DB] * 3 end end end
Version data entries
65 entries across 65 versions & 3 rubygems