```ruby
require 'net/http'
require 'uri'
require 'json'

class FirebaseCloudMessaging

  # @param [Report] report
  # @param [Array<User>] to
  def self.send_new_report_notification(to, report)

    if report.location_name.nil?
      message = "Reportó un incendio"
    else
      message = "Reportó un incendio en #{report.location_name}"
    end

    NotificationsJob.perform_later(to.map{|u| u.id}, {
        title: report.author.name,
        body: message
    },{ avatar: report.author.avatar.url })
  end

end```

Add report attributes to firebase notifications.
user
```ruby
require 'net/http'
require 'uri'
require 'json'

class FirebaseCloudMessaging

  # @param [Report] report
  # @param [Array<User>] to
  def self.send_new_report_notification(to, report)

    if report.location_name.nil?
      message = "Reportó un incendio"
    else
      message = "Reportó un incendio en #{report.location_name}"
    end

    NotificationsJob.perform_later(to.map{|u| u.id}, {
        title: report.author.name,
        body: message
    },{ avatar: report.author.avatar.url, report: report.attributes })
  end

end```
assistant