Class: HubLink::Stream
- Inherits:
-
Object
- Object
- HubLink::Stream
- Defined in:
- lib/hub_link/stream.rb
Instance Method Summary collapse
- #in_batches(&block) ⇒ Object
-
#initialize(repo, since: nil) ⇒ Stream
constructor
A new instance of Stream.
Constructor Details
#initialize(repo, since: nil) ⇒ Stream
Returns a new instance of Stream.
5 6 7 8 |
# File 'lib/hub_link/stream.rb', line 5 def initialize(repo, since: nil) @repo = repo @since = since&.to_date end |