Class: HubStore::Storage::Issue
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- HubStore::Storage::Issue
- Defined in:
- lib/hub_store/storage/issue.rb
Class Method Summary collapse
Class Method Details
.for(repo) ⇒ Object
8 9 10 |
# File 'lib/hub_store/storage/issue.rb', line 8 def self.for(repo) where(repo: repo.to_s) end |
.latest_update ⇒ Object
12 13 14 |
# File 'lib/hub_store/storage/issue.rb', line 12 def self.latest_update recently_updated_first.first&.updated_at end |