Rails locations: API Wrappers (Vaccum) -
in rails -
where should locate api wrapper? under models?
i put vaccum wrapper there i'm getting nomethoderror in controller. how make sure working well?
do mean vacuum wrapper? either put in model layer or create separate service layer it, eg. create service folder , make available there. however, simplicity start creating model.
the nomethoderror controller caused because rails cannot find method sending. can perhaps post controller code?
Comments
Post a Comment