GitClassic
Feed
Explore
Random
Go Pro
Sign in
obafemitayor
/
newsletter-subscription-application
Code
/
Commits
/ aa5e742
Refactored pagination logic on the backend api to handle pagination in both directions
Omotayo Obafemi
committed on Apr 6, 2025, 08:30 AM
Showing
4
changed files
+186 additions
-45 deletions
M
api/app/controllers/v1/subscriptions_controller.rb
+8
-3
M
api/app/services/subscription_service.rb
+26
-14
M
api/spec/controllers/v1/subscriptions_controller_spec.rb
+99
-22
M
api/spec/services/subscription_service_spec.rb
+53
-6
Browse files at this commit โ