lib/recurly/client/operations.rb in recurly-3.17.0 vs lib/recurly/client/operations.rb in recurly-3.18.0
- old
+ new
@@ -607,10 +607,10 @@
def get_active_coupon_redemption(account_id:, **options)
path = interpolate_path("/accounts/{account_id}/coupon_redemptions/active", account_id: account_id)
get(path, **options)
end
- # Generate an active coupon redemption on an account
+ # Generate an active coupon redemption on an account or subscription
#
# {https://developers.recurly.com/api/v2019-10-10#operation/create_coupon_redemption create_coupon_redemption api documenation}
#
# @param account_id [String] Account ID or code. For ID no prefix is used e.g. +e28zov4fw0v2+. For code use prefix +code-+, e.g. +code-bob+.
# @param body [Requests::CouponRedemptionCreate] The Hash representing the JSON request to send to the server. It should conform to the schema of {Requests::CouponRedemptionCreate}