Class: SendGrid::Settings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_clientObject

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