I only use initializer for inject the dependencies (other classes that needs to be called inside my class). But all the parameters related to the behavior of my class are submitted in the .call method
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You keep using .call like a class method, but it's defined as an instance method, is there a reason for that?
Yes, it's a little oversight on my part. Actually all my Services inerhit from a base class called ApplicationService
I only use initializer for inject the dependencies (other classes that needs to be called inside my class). But all the parameters related to the behavior of my class are submitted in the
.callmethod