Skip to content

Getting NoMethodError (undefined method `new' for nil:NilClass) #96

@kglns

Description

@kglns

Hello,

I am getting below error when I call Redd.it

I tried 2 versions, both of which produced the same issue.

Versions
0.8.8
0.7.10

>> reddit = Redd.it(
user_agent: 'xxxx',
         client_id: 'xxxx',
         secret: 'xxx',
         username: 'xxx',
         password: 'xxx'
>>  )
Traceback (most recent call last):
        2: from (irb):4
        1: from (irb):4:in `rescue in irb_binding'
NoMethodError (undefined method `new' for nil:NilClass)

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