data PG::Notification
A NOTIFY on a channel the connection listens to (PG::Connection#listen):
the channel, the payload ("" when none was given) and the server
process that sent it (PG::Connection#process_id on the notifier's side).
Methods
def to_h -> Hash[Symbol, Object]
The fields as a Hash, by name.
def with(*, channel: String = …, payload: String = …, process_id: Int = …) -> PG::Notification
A copy with the fields given replaced.