GitHub::SponsorHistory
Inherits Reference < Object
Constructors
new(login : String, name : String, url : Nil | String, logo : Nil | String, since : Time, last_payment : Float64, is_active : Bool)
SourceClass methods
load_all(db : DB::Database) : Hash(String, SponsorHistory)
SourceInstance methods
is_active
Sourceis_active=(is_active : Bool)
Sourcelast_billed_at
Sourcelast_billed_at=(last_billed_at : Time)
Sourcelast_payment
Sourcelast_payment=(last_payment : Float64)
Sourcelogin
Sourcelogin=(login : String)
Sourcelogo
Sourcelogo=(logo : String | Nil)
Sourcename
Sourcename=(name : String)
Sourcerecord_run(db : DB::Database, now : Time)
Records the observed tier for the calendar week (Monday-anchored)
save(db : DB::Database)
Sourcesince
Sourcesince=(since : Time)
Sourcetotal_contributed
Sourcetotal_contributed=(total_contributed : Float64)
Sourceupdate(sponsorship : Sponsorship, now : Time)
Sourceurl
Sourceurl=(url : String | Nil)
Source