Class: Stripe::AccountNoticeService::UpdateParams::Email
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::AccountNoticeService::UpdateParams::Email
- Defined in:
- lib/stripe/services/account_notice_service.rb
Instance Attribute Summary collapse
-
#plain_text ⇒ Object
Content of the email in plain text.
-
#recipient ⇒ Object
Email address of the recipient.
-
#subject ⇒ Object
Subject of the email.
Instance Method Summary collapse
-
#initialize(plain_text: nil, recipient: nil, subject: nil) ⇒ Email
constructor
A new instance of Email.
Methods inherited from RequestParams
Constructor Details
#initialize(plain_text: nil, recipient: nil, subject: nil) ⇒ Email
Returns a new instance of Email.
45 46 47 48 49 |
# File 'lib/stripe/services/account_notice_service.rb', line 45 def initialize(plain_text: nil, recipient: nil, subject: nil) @plain_text = plain_text @recipient = recipient @subject = subject end |
Instance Attribute Details
#plain_text ⇒ Object
Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use.
39 40 41 |
# File 'lib/stripe/services/account_notice_service.rb', line 39 def plain_text @plain_text end |
#recipient ⇒ Object
Email address of the recipient.
41 42 43 |
# File 'lib/stripe/services/account_notice_service.rb', line 41 def recipient @recipient end |
#subject ⇒ Object
Subject of the email.
43 44 45 |
# File 'lib/stripe/services/account_notice_service.rb', line 43 def subject @subject end |