avinashbot / redd

Redd is a batteries-included API wrapper for reddit.
MIT License
186 stars 75 forks source link

Redd::Models::Comment#new removed in 0.8.x and 0.9.x? #84

Closed booty closed 6 years ago

booty commented 6 years ago

I'm writing a script that monitors various services (Twitter, Reddit, etc) for notifications.

Originally I used 0.7.10 and relied upon Redd::Models::Comment#new to determine if a comment was new or not. But it seems #new is not there in 0.8.x and 0.9.x. I didn't see an obvious replacement for it.

Is there another way I can find out if a particular comment is new (unread) or not?

booty commented 6 years ago

Nevermind. =)

I see that it's simply been renamed to new?

Makes sense!