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

Version Path
bougyman-freeswitcher-0.0.9 lib/fsr/database/call_limit.rb
bougyman-freeswitcher-0.1.0 lib/fsr/database/call_limit.rb
bougyman-freeswitcher-0.1.1 lib/fsr/database/call_limit.rb
bougyman-freeswitcher-0.1.2 lib/fsr/database/call_limit.rb
bougyman-freeswitcher-0.1.3 lib/fsr/database/call_limit.rb
bougyman-freeswitcher-0.1.4 lib/fsr/database/call_limit.rb
bougyman-freeswitcher-0.3.0 lib/fsr/database/call_limit.rb
bougyman-freeswitcher-0.3.1 lib/fsr/database/call_limit.rb
bougyman-freeswitcher-0.4.0 lib/fsr/database/call_limit.rb
bougyman-freeswitcher-0.4.1 lib/fsr/database/call_limit.rb
bougyman-freeswitcher-0.4.2 lib/fsr/database/call_limit.rb
freeswitcher-0.8.0 lib/fsr/database/call_limit.rb
freeswitcher-0.7.1 lib/fsr/database/call_limit.rb
freeswitcher-0.7.0 lib/fsr/database/call_limit.rb
freeswitcher-0.6.18 lib/fsr/database/call_limit.rb
freeswitcher-0.6.17 lib/fsr/database/call_limit.rb
freeswitcher-0.6.16 lib/fsr/database/call_limit.rb
freeswitcher-0.6.15 lib/fsr/database/call_limit.rb
freeswitcher-0.6.14 lib/fsr/database/call_limit.rb
freeswitcher-0.6.13 lib/fsr/database/call_limit.rb