Method: ActiveSupport::Messages::RotationConfiguration#rotate

Defined in:
activesupport/lib/active_support/messages/rotation_configuration.rb

#rotate(kind, *args, **options) ⇒ Object



12
13
14
15
16
17
18
19
20
# File 'activesupport/lib/active_support/messages/rotation_configuration.rb', line 12

def rotate(kind, *args, **options)
  args << options unless options.empty?
  case kind
  when :signed
    @signed << args
  when :encrypted
    @encrypted << args
  end
end