[ruby] Don't commit your credentials...
[ruby] Separate login method into own file for reuse.
[ruby] Put lib into own module.