Class: Gcpc::Publisher::BaseInterceptor

Inherits:
Object
  • Object
show all
Defined in:
lib/gcpc/publisher/base_interceptor.rb

Instance Method Summary collapse

Instance Method Details

#publish(data, attributes) {|data, attributes| ... } ⇒ Object

Parameters:

  • data (String)
  • attributes (Hash)

Yields:

  • (data, attributes)


9
10
11
# File 'lib/gcpc/publisher/base_interceptor.rb', line 9

def publish(data, attributes, &block)
  yield data, attributes
end