spritlesoftware / chargebee-rails-subscriptions

This gem provides developers with the ability to easily integrate chargebee's subscription management into their application backed by active record models.
https://rubygems.org/gems/chargebee_rails
Other
29 stars 25 forks source link

Pull/move plan sync to model #11

Closed ConfusedVorlon closed 6 years ago

ConfusedVorlon commented 6 years ago

this leaves the rake task completely unchanged in terms of functionality, but moves the logic to a class which can be accessed directly from within an app

e.g. in my app, I have a button in the admin area which says 'sync plans' it also adds functionality to allow add/delete/update. By default, this is the same as the rake task.

note - I think the paramaw changes will disappear when/if you accept my pull request containing those commits

ConfusedVorlon commented 6 years ago

Conflict fixed

ConfusedVorlon commented 6 years ago

Woo Hoo!