class in constructor have definition email: nil but actually it can't work without "email". I think it can be confused. If I pass blank or invalid string there, it fail in split_email method => I suggest to raise ArgumentError with explanation instead.
Checklist
[x] I acknowledge that all my contributions will be made under the project's license
[x] I have made a material change to the repo (functionality, testing, spelling, grammar)
chore:
SendGrid::Email
mandatory email argumentclass in constructor have definition
email: nil
but actually it can't work without "email". I think it can be confused. If I pass blank or invalid string there, it fail insplit_email
method => I suggest to raise ArgumentError with explanation instead.Checklist