Sha256: 9a5eaafaa0031a2bf74d5db01bc273b387a9c439edfc6e784f255bfc8c7c3c5c
Contents?: true
Size: 499 Bytes
Versions: 11
Compression:
Stored size: 499 Bytes
Contents
# frozen_string_literal: true module RubyRabbitmqJanus module Models # @author VAILLANT Jeremy <jeremy.vaillant@dazzl.tv> # # Store instance information for MongoID database class JanusInstance include Mongoid::Document include RubyRabbitmqJanus::Models::JanusInstanceConcern field :instance, type: Integer field :session, type: Integer field :enable, type: Boolean set_callback(:destroy, :before) { destroy_before_action } end end end
Version data entries
11 entries across 11 versions & 1 rubygems