I started coding in Ruby four years ago. In these four years, I've built many applications and made a lot of mistakes.
What if today we take a lit...
For further actions, you may consider blocking this person and/or reporting abuse
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