galerts
galerts copied to clipboard
NoMethodError: undefined method 'tr' for nil:NilClass
Hello @ecylmz,
I know this had been an issue before and was closed, but I am having the same issue recently. I made sure that my Google Account credentials are correct and also made sure that Galerts could access Less secure apps via my account.
Despite this, I am still not able to connect the Galerts library to my account, similar to Issue #6. Here is what I am doing :
require 'galerts'
manager = Galerts::Manager.new('[email protected]', 'password')
sample = ("Microsoft", {
:frequency => Galerts::RT,
:domain => 'com',
:sources => [Galerts::NEWS],
:how_many => Galerts::ALL_RESULTS,
:region => "US",
:delivery => "Galerts::RSS"
})
puts sample.to_s
And I am getting the error mentioned in the title. It says ~/.rvm/gems/ruby-2.4.5/gems/galerts-1.1.3/lib/galerts/manager.rb:125:in create: undefined method tr
...
Let me know what you think, or if this library is even supported, still.
thanks!
– rehmanh