Class: Em::Nordnet::Goliath::FeedPlugin
- Inherits:
-
Object
- Object
- Em::Nordnet::Goliath::FeedPlugin
- Defined in:
- lib/em-nordnet/goliath/feed_plugin.rb
Direct Known Subclasses
Constant Summary collapse
- @@connection =
nil
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(port, config, status, logger) ⇒ FeedPlugin
constructor
A new instance of FeedPlugin.
- #run ⇒ Object
Constructor Details
#initialize(port, config, status, logger) ⇒ FeedPlugin
Returns a new instance of FeedPlugin.
11 12 13 |
# File 'lib/em-nordnet/goliath/feed_plugin.rb', line 11 def initialize port, config, status, logger @port, @config, @status, @logger = port, config, status, logger end |
Class Method Details
.connection ⇒ Object
6 7 8 |
# File 'lib/em-nordnet/goliath/feed_plugin.rb', line 6 def connection @@connection end |
Instance Method Details
#run ⇒ Object
15 16 17 |
# File 'lib/em-nordnet/goliath/feed_plugin.rb', line 15 def run @@connection = feed_connection end |