We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About this line: https://github.com/decision-labs/fcm/blob/ec489fa22dd11185d487f781c009bca782144d17/lib/fcm.rb#L296C22-L296C35
I suggest the json_key method should look like this:
json_key
def json_key @json_key ||= if @json_key_path.respond_to?(:read) @json_key_path.read else File.open(@json_key_path) end end
This will make it compatible with an instance of StringIO object etc.
StringIO
The text was updated successfully, but these errors were encountered:
No branches or pull requests
About this line: https://github.com/decision-labs/fcm/blob/ec489fa22dd11185d487f781c009bca782144d17/lib/fcm.rb#L296C22-L296C35
I suggest the
json_key
method should look like this:This will make it compatible with an instance of
StringIO
object etc.The text was updated successfully, but these errors were encountered: