I followed the example found in the wiki **5) Create new emails!** ``` ruby email = gmail.generate_message do to "email@example.com" subject "Having fun in Puerto Rico!" body "Spent the day on the road..." end ``` but I get the following error: undefined method `generate_message' for #Gmail::Client::Plain:0x007f94813a5fa8 (NoMethodError) Ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0] Mac OS X 10.7.5
Activity
matsubo commentedon Dec 31, 2013
+1
myobie commentedon Mar 28, 2014
The method does exist. Can you give me a longer code example?
MaxRumpf commentedon May 15, 2015
I get that error too.
MaxRumpf commentedon May 15, 2015
Does it have any Dependency else than "gmail" ?