Sha256: 60f057b586ec28a0a897cd091b2542c7981fb5e12ce89a6a0473293aa288d07a

Contents?: true

Size: 408 Bytes

Versions: 99

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true

module ActiveSupport
  module Messages
    class RotationConfiguration # :nodoc:
      attr_reader :signed, :encrypted

      def initialize
        @signed, @encrypted = [], []
      end

      def rotate(kind, *args)
        case kind
        when :signed
          @signed << args
        when :encrypted
          @encrypted << args
        end
      end
    end
  end
end

Version data entries

99 entries across 90 versions & 11 rubygems

Version Path
activesupport-6.0.4.1 lib/active_support/messages/rotation_configuration.rb
mumukit-content-type-1.11.1 vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4/lib/active_support/messages/rotation_configuration.rb
activesupport-6.0.4 lib/active_support/messages/rotation_configuration.rb
activesupport-5.2.6 lib/active_support/messages/rotation_configuration.rb
activesupport-6.0.3.7 lib/active_support/messages/rotation_configuration.rb
activesupport-5.2.4.6 lib/active_support/messages/rotation_configuration.rb
activesupport-6.0.3.6 lib/active_support/messages/rotation_configuration.rb
activesupport-5.2.5 lib/active_support/messages/rotation_configuration.rb
activesupport-6.0.3.5 lib/active_support/messages/rotation_configuration.rb
activesupport-5.2.4.5 lib/active_support/messages/rotation_configuration.rb
activesupport-6.0.3.4 lib/active_support/messages/rotation_configuration.rb
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.3.2/lib/active_support/messages/rotation_configuration.rb
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.1/lib/active_support/messages/rotation_configuration.rb
activesupport-5.2.4.4 lib/active_support/messages/rotation_configuration.rb
activesupport-6.0.3.3 lib/active_support/messages/rotation_configuration.rb
activesupport-6.0.3.2 lib/active_support/messages/rotation_configuration.rb
activesupport-6.0.3.1 lib/active_support/messages/rotation_configuration.rb
activesupport-5.2.4.3 lib/active_support/messages/rotation_configuration.rb
activesupport-6.0.3 lib/active_support/messages/rotation_configuration.rb
activesupport-6.0.3.rc1 lib/active_support/messages/rotation_configuration.rb