Skip to content

For custom requests Gmail.client only gets set once a request is made  #17

@rserna2010

Description

@rserna2010

I'm trying to do a few custom requests, however, unless a previous request is made (eg Gmail::Message.all) it errors out with "NoMethodError: undefined method `execute' for nil:NilClass"

Here's an example
https://gist.github.com/rserna2010/48b25ed2ac8a00cc039c

Also attempting to set the client field results in "NoMethodError: undefined method `client=' for Gmail:Module"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions