Class: PullerFactory
- Inherits:
-
Object
- Object
- PullerFactory
- Defined in:
- lib/puller_factory.rb
Class Method Summary collapse
Class Method Details
.create(type) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/puller_factory.rb', line 5 def self.create(type) case type.downcase when 'flickr' Strategy::Flickr end # TODO: add other strategies end |