Sha256: 1c450c25cc214f1a425b90941320a243a090d4dc2d7a216de3a1abe296ea93b6
Contents?: true
Size: 207 Bytes
Versions: 3
Compression:
Stored size: 207 Bytes
Contents
module Feedshub class GithubFeedEntry < ActiveRecord::Base def self.public_feeds(limit = ENV['github_feeds_number'].to_i) GithubFeedEntry.order('published DESC').limit(limit) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
feedshub-1.0.2 | app/models/feedshub/github_feed_entry.rb |
feedshub-1.0.1 | app/models/feedshub/github_feed_entry.rb |
feedshub-1.0.0 | app/models/feedshub/github_feed_entry.rb |