# README This README would normally document whatever steps are necessary to get the application up and running. Things you may want to cover: * Ruby version * System dependencies * Configuration * Database creation * Database initialization * How to run the test suite * Services (job queues, cache servers, search engines, etc.) * Deployment instructions ## How to test ### From the console ``` COMMAND="echo ejecutada" AUTHORIZED_SENDERS="sender1@email.com,sender2@email.com" EMAIL=email@outlook.com PASSWORD=micontrasenia bundle exec rake monitor:run ``` ### From the Rails console ``` email = "email@outlook.com" password = "micontrasenia" res = FetchEmails.call(email: email, password: password, query_from: Time.now - 30.days) res = MonitorInbox.call! ```