Sha256: ca3f7c7052a1dd4c714c8cb1ce7ac2ec40155e98ca800f5953fe01d3cbfd4786

Contents?: true

Size: 311 Bytes

Versions: 17

Compression:

Stored size: 311 Bytes

Contents

# frozen_string_literal: true

module Switchman
  module GuardRail
    module ClassMethods
      def activate(role)
        DatabaseServer.send(:reference_role, role)
        super
      end

      def activate!(role)
        DatabaseServer.send(:reference_role, role)
        super
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
switchman-3.0.16 lib/switchman/guard_rail.rb
switchman-3.0.15 lib/switchman/guard_rail.rb
switchman-3.0.14 lib/switchman/guard_rail.rb
switchman-3.0.13 lib/switchman/guard_rail.rb
switchman-3.0.12 lib/switchman/guard_rail.rb
switchman-3.0.11 lib/switchman/guard_rail.rb
switchman-3.0.10 lib/switchman/guard_rail.rb
switchman-3.0.9 lib/switchman/guard_rail.rb
switchman-3.0.8 lib/switchman/guard_rail.rb
switchman-3.0.7 lib/switchman/guard_rail.rb
switchman-3.0.6 lib/switchman/guard_rail.rb
switchman-3.0.5 lib/switchman/guard_rail.rb
switchman-3.0.4 lib/switchman/guard_rail.rb
switchman-3.0.3 lib/switchman/guard_rail.rb
switchman-3.0.2 lib/switchman/guard_rail.rb
switchman-3.0.1 lib/switchman/guard_rail.rb
switchman-3.0.0 lib/switchman/guard_rail.rb