Class: Sendgrid::Newsletter::Base

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/sendgrid-newsletter/base.rb

Direct Known Subclasses

Email, List, Newsletter, Recipient, Schedule

Instance Method Summary collapse

Constructor Details

#initializeBase

Returns a new instance of Base.



8
9
10
# File 'lib/sendgrid-newsletter/base.rb', line 8

def initialize
  self.class.default_params api_user: Sendgrid::Newsletter::Config.api_user, api_key: Sendgrid::Newsletter::Config.api_key
end