Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow the user to skip notifying email #122

Merged
merged 2 commits into from
Oct 11, 2023
Merged

allow the user to skip notifying email #122

merged 2 commits into from
Oct 11, 2023

Conversation

peetucket
Copy link
Member

Why was this change made? 🤔

Allow consumers of the client to ask Globus to skip sending emails. Defaults to "true" so will send email unless you opt out when initializing the client.

How was this change tested? 🤨

New spec

@@ -10,10 +10,11 @@ class Endpoint # rubocop:disable Metrics/ClassLength
# @param client [GlobusClient] a configured instance of the GlobusClient
# @param path [String] the path to operate on
# @param user_id [String] a Globus user ID (e.g., a @stanford.edu email address)
def initialize(client, path:, user_id:)
def initialize(client, path:, user_id:, notify_email: true)
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a new @param YARD doc above?

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch - added

Copy link
Member

@mjgiarlo mjgiarlo left a comment

Choose a reason for hiding this comment

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

Approve pending consideration of YARD doc comment. thanks!

@mjgiarlo mjgiarlo merged commit 257344a into main Oct 11, 2023
@mjgiarlo mjgiarlo deleted the allow-skip-notify branch October 11, 2023 00:10
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.

2 participants