Class: Gcpc::Interceptors::Subscriber::DecodeInterceptor::BaseStrategy

Inherits:
Object
  • Object
show all
Defined in:
lib/gcpc/interceptors/subscriber/decode_interceptor.rb

Direct Known Subclasses

JSONStrategy

Instance Method Summary collapse

Instance Method Details

#decode(data, attributes, message) ⇒ Object

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/gcpc/interceptors/subscriber/decode_interceptor.rb', line 10

def decode(data, attributes, message)
  raise NotImplementedError.new("You must implement #{self.class}##{__method__}")
end