Class: PubsubClient::NullSubscriberFactory

Inherits:
Object
  • Object
show all
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

#buildObject


8
9
10
# File 'lib/pubsub_client/null_subscriber_factory.rb', line 8

def build(*)
  NullSubscriber.new
end