Module: Resend

Defined in:
lib/resend.rb,
lib/resend/batch.rb,
lib/resend/client.rb,
lib/resend/emails.rb,
lib/resend/errors.rb,
lib/resend/mailer.rb,
lib/resend/domains.rb,
lib/resend/railtie.rb,
lib/resend/request.rb,
lib/resend/version.rb,
lib/resend/api_keys.rb,
lib/resend/contacts.rb,
lib/resend/audiences.rb

Overview

Main Resend module

Defined Under Namespace

Modules: ApiKeys, Audiences, Batch, Contacts, Domains, Emails Classes: Client, Error, Mailer, Railtie, Request

Constant Summary collapse

VERSION =
"0.13.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



11
12
13
# File 'lib/resend.rb', line 11

def api_key
  @api_key
end

Class Method Details

.configure {|_self| ... } ⇒ Object Also known as: config

Yields:

  • (_self)

Yield Parameters:

  • _self (Resend)

    the object that the method was called on



13
14
15
16
# File 'lib/resend.rb', line 13

def configure
  yield self if block_given?
  true
end