Class: Gcpc::Interceptors::Subscriber::DecodeInterceptor::JSONStrategy
- Inherits:
-
BaseStrategy
- Object
- BaseStrategy
- Gcpc::Interceptors::Subscriber::DecodeInterceptor::JSONStrategy
- Defined in:
- lib/gcpc/interceptors/subscriber/decode_interceptor.rb
Instance Method Summary collapse
Instance Method Details
#decode(data, attributes, message) ⇒ Object
16 17 18 |
# File 'lib/gcpc/interceptors/subscriber/decode_interceptor.rb', line 16 def decode(data, attributes, ) JSON.parse(data) end |