From f500965418f341ef38ef5b066515415260d2215d Mon Sep 17 00:00:00 2001 From: Kyle Le Date: Sun, 3 Mar 2024 21:49:18 +0700 Subject: [PATCH] Multiple subscription tags API --- source/includes/_subscription.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/includes/_subscription.md b/source/includes/_subscription.md index b10980d..48bbbf5 100644 --- a/source/includes/_subscription.md +++ b/source/includes/_subscription.md @@ -2585,9 +2585,9 @@ comment = nil subscription = KillBillClient::Model::Subscription.new subscription.subscription_id = "92820d1c-1d4c-46eb-9010-26b0626a1927" -tag_name = 'good_sub' +tag_definition_ids = ['2c1f8309-24d7-437c-971b-7e68ff2d393a'] -subscription.add_tag(tag_name, +subscription.add_tags_from_definition_ids(tag_definition_ids, user, reason, comment, @@ -2783,9 +2783,9 @@ comment = nil subscription = KillBillClient::Model::Subscription.new subscription.subscription_id = "92820d1c-1d4c-46eb-9010-26b0626a1927" -tag_name = 'good_sub' +tag_definition_ids = ['2c1f8309-24d7-437c-971b-7e68ff2d393a'] -subscription.remove_tag(tag_name, +subscription.remove_tags_from_definition_ids(tag_definition_ids, user, reason, comment,