summaryrefslogtreecommitdiff
path: root/app/services/solidus_subscriptions/line_item_builder.rb
AgeCommit message (Collapse)Author
2021-01-30Move all business logic to `lib`Alessandro Desantis
It wasn't clear why certain business logic should live in `app/services` while other should live in `lib`. By unifying everything in one directory, we make it easier for developers to inspect the code and reduce the cognitive load when implementing new classes.
2020-11-23Fix legacy unsubscribable subscriptions not being processedAlessandro Desantis
If a customer subscribed to an item that is now unsubscribable, we don't want to stop processing their subscription all of a sudden. Admins should be able to decide whether they want to grandfather the customers out of the subscription or keep them on the subscription indefinitely, while preventing new customers from subscribing.
2020-11-23Fix `LineItemBuilder` assuming `subscribable_class` is `Spree::Variant`Alessandro Desantis
2020-09-25Fix coding style violationsAlessandro Desantis
2020-06-16Move service objects to `app/services`Alessandro Desantis