Class: Sendgrid::Newsletter::Base
- Inherits:
-
Object
- Object
- Sendgrid::Newsletter::Base
- Includes:
- HTTParty
- Defined in:
- lib/sendgrid-newsletter/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize ⇒ Base
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 |