Class: SendGrid::Settings
- Inherits:
-
Object
- Object
- SendGrid::Settings
- Defined in:
- lib/sendgrid/helpers/settings/settings.rb
Constant Summary collapse
- SETTING_TYPES =
[SendGrid::MailSettingsDto, SendGrid::TrackingSettingsDto, SendGrid::PartnerSettingsDto, SendGrid::UserSettingsDto].freeze
Instance Attribute Summary collapse
-
#sendgrid_client ⇒ Object
Returns the value of attribute sendgrid_client.
Instance Method Summary collapse
-
#initialize(sendgrid_client:) ⇒ Settings
constructor
A new instance of Settings.
Constructor Details
#initialize(sendgrid_client:) ⇒ Settings
Returns a new instance of Settings.
13 14 15 |
# File 'lib/sendgrid/helpers/settings/settings.rb', line 13 def initialize(sendgrid_client:) @sendgrid_client = sendgrid_client end |
Instance Attribute Details
#sendgrid_client ⇒ Object
Returns the value of attribute sendgrid_client.
8 9 10 |
# File 'lib/sendgrid/helpers/settings/settings.rb', line 8 def sendgrid_client @sendgrid_client end |