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

Update EmailForward fields #389

Merged
merged 6 commits into from
May 22, 2024
Merged

Conversation

ggalmazor
Copy link
Contributor

See dnsimple/dnsimple-developer#315 for reference

In this PR:

  • Add alias_email and destination_email fields to EmailForward
  • Deprecate from and to fields in `EmailForward

@ggalmazor ggalmazor requested review from a team and removed request for a team May 17, 2024 07:56
@ggalmazor ggalmazor self-assigned this May 17, 2024
@ggalmazor ggalmazor changed the title UIpdate EmailForward fields Update EmailForward fields May 17, 2024
@@ -11,15 +11,23 @@ class EmailForward < Base
attr_accessor :domain_id

# @return [String] The "local part" of the originating email address. Anything to the left of the @ symbol.
# DEPRECATED: use `alias_email` instead
Copy link
Contributor

@jacegu jacegu May 17, 2024

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do we actually use YARD in this codebase? I couldn't find it in the gemfile...

Copy link
Contributor

Choose a reason for hiding this comment

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

🤔 we may not be linting, or generating docs from it, but I'd say that's the format we are using for all ruby repos... The @param and @return are all YARD...

Copy link
Member

Choose a reason for hiding this comment

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

s.add_development_dependency 'yard'

Copy link
Member

@dallasread dallasread left a comment

Choose a reason for hiding this comment

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

🥇 Looks great pending the YARD convo. Can we keep the end-of-file white space around? 😄

@ggalmazor ggalmazor force-pushed the change/update_email_forward_fields branch from 740668a to b32f3ea Compare May 21, 2024 12:50
@ggalmazor ggalmazor merged commit 830f08a into main May 22, 2024
7 checks passed
@ggalmazor ggalmazor deleted the change/update_email_forward_fields branch May 22, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants