Method: Mastodon::Streaming::Client#initialize
- Defined in:
- lib/mastodon/streaming/client.rb
#initialize(options = {}) ⇒ Mastodon::Streaming::Client
Initializes a new Client object
18 19 20 21 22 |
# File 'lib/mastodon/streaming/client.rb', line 18 def initialize( = {}) super [:using_ssl] ||= base_url =~ /^https/ @connection = Streaming::Connection.new() end |