UserSwitcher

Short description and motivation.

Usage

config/initializers/user_switcher.rb

UserSwitcher.configure do |config|
  config.users = [
    { id: '[email protected]', password: 'password' },
    { id: '[email protected]', password: 'password' }
  ]
end

Installation

Add this line to your application's Gemfile:

gem 'user_switcher'

And then execute:

$ bundle

Or install it yourself as:

$ gem install user_switcher

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.