class Chizuru::Source

Represents a tweets source.

Source provides events or statuses from Twitter API, or other any sources (for example, the log file of the streaming).

Public Class Methods

new(provider) click to toggle source

Initializes an instance of Source with the given Provider.

# File lib/chizuru/source.rb, line 7
def initialize(provider)
  raise ArgumentError unless provider
  @provider = provider
end