class SendGrid::MailSettingsDto
Attributes
address_whitelist[R]
bcc[R]
bounce_purge[R]
forward_bounce[R]
forward_spam[R]
plain_content[R]
spam_check[R]
template[R]
Public Class Methods
fetch(sendgrid_client:, name:, query_params:)
click to toggle source
# File lib/sendgrid/helpers/settings/mail_settings_dto.rb, line 5 def self.fetch(sendgrid_client:, name:, query_params:) sendgrid_client.mail_settings.public_send(name).get(query_params: query_params) end
update(sendgrid_client:, name:, request_body:)
click to toggle source
# File lib/sendgrid/helpers/settings/mail_settings_dto.rb, line 9 def self.update(sendgrid_client:, name:, request_body:) sendgrid_client.mail_settings.public_send(name).patch(request_body: request_body) end