Class: PubsubClient::NullSubscriberFactory
- Inherits:
-
Object
- Object
- PubsubClient::NullSubscriberFactory
- Defined in:
- lib/pubsub_client/null_subscriber_factory.rb
Overview
A null object to act as a subscriber factory when clients are in dev or test
Instance Method Summary collapse
Instance Method Details
#build ⇒ Object
8 9 10 |
# File 'lib/pubsub_client/null_subscriber_factory.rb', line 8 def build(*) NullSubscriber.new end |