Sha256: 3381ac529ef890bced6eda2154e409260585bff2b9a454dde91f1beafe822091

Contents?: true

Size: 595 Bytes

Versions: 65

Compression:

Stored size: 595 Bytes

Contents

require "fsr/database"
# This module maps to the Free Switch core.db database
#
# TODO Separate these models into their own subdirectories
module FSR
  module Database
    module Core
      DB = Sequel.connect("sqlite://" + File.join(FSR::FS_DB_PATH, "core.db"))

      class Complete < Sequel::Model
      end
      Complete.set_dataset :complete

      class Alias < Sequel::Model
      end

      class Channel < Sequel::Model
      end

      class Call < Sequel::Model
      end

      class Interface < Sequel::Model
      end

      class Task < Sequel::Model
      end
    end
  end
end

Version data entries

65 entries across 65 versions & 3 rubygems

Version Path
freeswitcher-0.5.4 lib/fsr/database/core.rb
freeswitcher-0.5.3 lib/fsr/database/core.rb
freeswitcher-0.5.2 lib/fsr/database/core.rb
freeswitcher-0.5.1 lib/fsr/database/core.rb
freeswitcher-0.5.0 lib/fsr/database/core.rb
freeswitcher-0.4.10 lib/fsr/database/core.rb
freeswitcher-0.4.9 lib/fsr/database/core.rb
freeswitcher-0.4.8 lib/fsr/database/core.rb
freeswitcher-0.4.7 lib/fsr/database/core.rb
freeswitcher-0.4.6 lib/fsr/database/core.rb
freeswitcher-0.4.4 lib/fsr/database/core.rb
freeswitcher-0.4.3 lib/fsr/database/core.rb
FreeSWITCHeR-0.0.8 lib/fsr/database/core.rb
freeswitcher-0.4.2 lib/fsr/database/core.rb
freeswitcher-0.0.11 lib/fsr/database/core.rb
freeswitcher-0.1.4 lib/fsr/database/core.rb
freeswitcher-0.0.9 lib/fsr/database/core.rb
freeswitcher-0.0.13 lib/fsr/database/core.rb
freeswitcher-0.0.12 lib/fsr/database/core.rb
freeswitcher-0.0.10 lib/fsr/database/core.rb