You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@blakeprudhomme I needed this too, and was able to achieve it by using built-in behavior in Rails ActiveResource. Just add the following code to your Chargify initializer.
# config/initializers/chargify.rb
module Chargify
class Subscription < Base
def override(fields)
put(:override, subscription: fields)
end
end
end
Then you can use this new override method as you intended:
API Reference
https://reference.chargify.com/v1/subscriptions-override
Preferably with a method on the subscription object:
The text was updated successfully, but these errors were encountered: