Skip to content

Add destroy method for Link#39

Merged
som-m merged 1 commit intoomise:masterfrom
som-m:master
Feb 11, 2021
Merged

Add destroy method for Link#39
som-m merged 1 commit intoomise:masterfrom
som-m:master

Conversation

@som-m
Copy link
Copy Markdown
Contributor

@som-m som-m commented Jan 28, 2021

Summary

  • Add destroy method for Link (Omise doc)
  • Add test

QA

You should be able to destroy a link.

  1. Retrieve a link
    link = Omise::Link.retrieve("link_test_5ll4klw6mopf4nh4bi5")

  2. Destroy the link
    link.destroy

  3. Check whether the link has been destroyed
    link.destroyed?

Copy link
Copy Markdown
Contributor

@zentetsukenz zentetsukenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Copy Markdown

@tiponche tiponche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😄

@danfowler danfowler closed this Feb 11, 2021
@danfowler danfowler reopened this Feb 11, 2021
@som-m som-m merged commit a9ec2b1 into omise:master Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants