diff --git a/README.md b/README.md index 434fd4b..69b6f87 100644 --- a/README.md +++ b/README.md @@ -21,11 +21,16 @@ Things you may want to cover: * Deployment instructions -## How to test from the console +## How to test + +### From the console + +EMAIL=email@outlook.com PASSWORD=micontrasenia bundle exec rake monitor:run +### From the Rails console ``` -email = "" -password = "" +email = "email@outlook.com" +password = "micontrasenia" res = FetchEmails.call(email: email, password: password, query_from: Time.now - 30.days) res = MonitorInbox.call!(email: email,password: password)