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

Add generic message validator #44

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

Mahad-10
Copy link
Member

No description provided.

:options, :details, :subscription_id, :publication_id,
:registration_id

def initialize # rubocop:disable Metrics/MethodLength, Metrics/AbcSize
Copy link
Collaborator

Choose a reason for hiding this comment

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

@Mahad-10 you can remove the initializer method, as what is happening the initializer is the default.
when you have attr_accessor :attribute_name
by default @attribute_name will be nil

@Mahad-10 Mahad-10 force-pushed the generic-message-validator branch from baf5385 to e9eef90 Compare July 25, 2024 08:45
@Mahad-10 Mahad-10 requested review from rubyonrails3 and om26er July 25, 2024 08:46
@Mahad-10 Mahad-10 force-pushed the generic-message-validator branch 2 times, most recently from bdfa9d0 to 393c6cc Compare July 26, 2024 15:10
@Mahad-10 Mahad-10 force-pushed the generic-message-validator branch from 422065d to d3db738 Compare August 5, 2024 13:15
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