Gmail Gem - 移至标签中的标签

  • 本文关键字:标签 Gem Gmail ruby gmail
  • 更新时间 :
  • 英文 :


https://github.com/nu7hatch/gmail

我在移动到文件夹中的文件夹时遇到一点问题。

在我的Gmail帐户上,我有不同的"标签"或文件夹。

school # this is a folder
  Class 1 # this is a folder within the school folder
work # this is a folder
  Client 1 # this is a folder within the work folder

现在使用红宝石 gmail,我可以进入第一个文件夹,但不能进入另一个文件夹。

gmail.label("school")
#returns a true statement, i could add to the code above and manipulate emails 
#but if i run something like 
gmail.label("school").label("Class 1")
#this returns an error. 

我的目标是导航到"Class 1"目录来操作电子邮件

gmail.label('school/Class 1') #this will get you into the directory 

最新更新