Event JSON
{
"id": "9479870389ffaf9de0c9e9d3a0d781865a59ef4a9e6d31bb70e3f57ca192c00c",
"pubkey": "0a98fcc74400896d68beecfb32da230c656db6fc7ab43c4228b7755377d294f2",
"created_at": 1739467969,
"kind": 1,
"tags": [
[
"e",
"657fbc840ff0c36003a9b831a886fd8ae6cee7b4e266ba057fa0b68e2848fab4",
"wss://relay.mostr.pub",
"reply"
],
[
"imeta",
"url https://cdn.masto.host/rubysocial/media_attachments/files/113/997/772/715/635/744/original/60973036ea52b288.jpeg",
"m image/jpeg",
"dim 1296x1302",
"blurhash UJAm@^of_4j[xuj@ayju_4j[Rjj[xufRayj@"
],
[
"proxy",
"https://ruby.social/users/davetron5000/statuses/113997772835306289",
"activitypub"
]
],
"content": "It occurs to me that you can override Class.new to do this and make a much cleaner API.\n\nAny reason not to do this regularly? Feels weird to return `nil` from a constructor, but it would be darn handy a lot of times.\n\nhttps://gist.github.com/davetron5000/1a6b394f4295f1b70062baab013d297f#file-new-rb\n\nhttps://cdn.masto.host/rubysocial/media_attachments/files/113/997/772/715/635/744/original/60973036ea52b288.jpeg",
"sig": "cb02ec38886eee3328e2f3cea32e3eb8d491a5c17703a8472cda366b471326a8e674005fb61f36427604cf4005e0abfb1fe3937169df6f6c338af66dd28b6678"
}