Class: SendGrid4r::REST::Mail::Personalization
- Inherits:
-
Struct
- Object
- Struct
- SendGrid4r::REST::Mail::Personalization
- Defined in:
- lib/sendgrid4r/rest/mail/personalization.rb
Instance Attribute Summary collapse
-
#bcc ⇒ Object
Returns the value of attribute bcc.
-
#cc ⇒ Object
Returns the value of attribute cc.
-
#custom_args ⇒ Object
Returns the value of attribute custom_args.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#send_at ⇒ Object
Returns the value of attribute send_at.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#substitutions ⇒ Object
Returns the value of attribute substitutions.
-
#to ⇒ Object
Returns the value of attribute to.
Instance Method Summary collapse
Instance Attribute Details
#bcc ⇒ Object
Returns the value of attribute bcc
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/personalization.rb', line 8 def bcc @bcc end |
#cc ⇒ Object
Returns the value of attribute cc
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/personalization.rb', line 8 def cc @cc end |
#custom_args ⇒ Object
Returns the value of attribute custom_args
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/personalization.rb', line 8 def custom_args @custom_args end |
#headers ⇒ Object
Returns the value of attribute headers
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/personalization.rb', line 8 def headers @headers end |
#send_at ⇒ Object
Returns the value of attribute send_at
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/personalization.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/personalization.rb', line 8 def subject @subject end |
#substitutions ⇒ Object
Returns the value of attribute substitutions
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/personalization.rb', line 8 def substitutions @substitutions end |
#to ⇒ Object
Returns the value of attribute to
8 9 10 |
# File 'lib/sendgrid4r/rest/mail/personalization.rb', line 8 def to @to end |
Instance Method Details
#to_h ⇒ Object
28 29 30 |
# File 'lib/sendgrid4r/rest/mail/personalization.rb', line 28 def to_h super.reject { |_key, value| value.nil? } end |