Feed
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(id : Int64, url : String, title : Nil | String, description : Nil | String, image_url : Nil | String, last_fetched_at : Time | Nil, etag : Nil | String, last_modified : Nil | String, ttl_minutes : Int32 | Nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceClass methods
due_for_refresh
SourceBatched analogue of find — one round-trip for N feeds. Returns a
{id => Feed} map; missing ids are simply absent (mirrors find returning
nil). Empty input short-circuits to an empty map.
Instance methods
description
Sourceetag
Sourceid
Sourceimage_url
Sourcelast_fetched_at
Sourcelast_modified
Sourcetitle
Sourcettl_minutes
Sourceurl
Source