Sha256: 43b09a78f584016c4f1c1e9850da98c3def67d8f1fc71fe8dcf93c4d1da5f765
Contents?: true
Size: 797 Bytes
Versions: 1
Compression:
Stored size: 797 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 < ::ActiveRecord::Base include RubyRabbitmqJanus::Models::JanusInstanceCallbacks include RubyRabbitmqJanus::Models::JanusInstanceMethods include RubyRabbitmqJanus::Models::JanusInstanceValidations after_create { callback_create_after } after_update { callback_update_after } after_destroy { callback_destroy_after } private # Update attributes to document # # @param [Hash] List of attribute to update with this value def set(attributes) update_columns(attributes) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_rabbitmq_janus-2.2.0.pre.159 | lib/rrj/models/active_record.rb |