Class: SendGrid4r::REST::Mail::Params
- Inherits:
-
Struct
- Object
- Struct
- SendGrid4r::REST::Mail::Params
- Defined in:
- lib/sendgrid4r/rest/mail/params.rb
Instance Attribute Summary collapse
-
#asm ⇒ Object
Returns the value of attribute asm.
-
#attachments ⇒ Object
Returns the value of attribute attachments.
-
#batch_id ⇒ Object
Returns the value of attribute batch_id.
-
#categories ⇒ Object
Returns the value of attribute categories.
-
#content ⇒ Object
Returns the value of attribute content.
-
#custom_args ⇒ Object
Returns the value of attribute custom_args.
-
#from ⇒ Object
Returns the value of attribute from.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#ip_pool_name ⇒ Object
Returns the value of attribute ip_pool_name.
-
#mail_settings ⇒ Object
Returns the value of attribute mail_settings.
-
#personalizations ⇒ Object
Returns the value of attribute personalizations.
-
#reply_to ⇒ Object
Returns the value of attribute reply_to.
-
#sections ⇒ Object
Returns the value of attribute sections.
-
#send_at ⇒ Object
Returns the value of attribute send_at.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#template_id ⇒ Object
Returns the value of attribute template_id.
-
#tracking_settings ⇒ Object
Returns the value of attribute tracking_settings.
Instance Method Summary collapse
Instance Attribute Details
#asm ⇒ Object
Returns the value of attribute asm
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 8 def asm @asm end |
#attachments ⇒ Object
Returns the value of attribute attachments
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 8 def @attachments end |
#batch_id ⇒ Object
Returns the value of attribute batch_id
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 8 def batch_id @batch_id end |
#categories ⇒ Object
Returns the value of attribute categories
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 8 def categories @categories end |
#content ⇒ Object
Returns the value of attribute content
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 8 def content @content end |
#custom_args ⇒ Object
Returns the value of attribute custom_args
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 8 def custom_args @custom_args end |
#from ⇒ Object
Returns the value of attribute from
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 8 def from @from end |
#headers ⇒ Object
Returns the value of attribute headers
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 8 def headers @headers end |
#ip_pool_name ⇒ Object
Returns the value of attribute ip_pool_name
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 8 def ip_pool_name @ip_pool_name end |
#mail_settings ⇒ Object
Returns the value of attribute mail_settings
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 8 def mail_settings @mail_settings end |
#personalizations ⇒ Object
Returns the value of attribute personalizations
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 8 def personalizations @personalizations end |
#reply_to ⇒ Object
Returns the value of attribute reply_to
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 8 def reply_to @reply_to end |
#sections ⇒ Object
Returns the value of attribute sections
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 8 def sections @sections end |
#send_at ⇒ Object
Returns the value of attribute send_at
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 8 def send_at @send_at end |
#subject ⇒ Object
Returns the value of attribute subject
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 8 def subject @subject end |
#template_id ⇒ Object
Returns the value of attribute template_id
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 8 def template_id @template_id end |
#tracking_settings ⇒ Object
Returns the value of attribute tracking_settings
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 8 def tracking_settings @tracking_settings end |
Instance Method Details
#to_h ⇒ Object
59 60 61 |
# File 'lib/sendgrid4r/rest/mail/params.rb', line 59 def to_h super.reject { |_key, value| value.nil? } end |