Ruby method for Account/folders/messages

I was trying to get messages from a specific folder - and couldn't figure out the ruby equivalent of the following:
GET https://api.context.io/2.0/accounts/id/sources/label/folders/folder/messages

For e.g.
GET /2.0/accounts/xxxx/sources/0/folders/Inbox/messages?limit=100

Thanks,
Sharad