Skip to content

Commit

Permalink
Merge pull request #295 from tungleduyxyz/update_subscription_tags_api
Browse files Browse the repository at this point in the history
Multiple subscription tags API
  • Loading branch information
reshmabidikar authored Mar 4, 2024
2 parents b0cee73 + f500965 commit a404c08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/includes/_subscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -2587,9 +2587,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,
Expand Down Expand Up @@ -2785,9 +2785,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,
Expand Down

0 comments on commit a404c08

Please sign in to comment.