Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
sendgrid
master
Sendgrid
Address
AddressException
Client
Content
ContentException
ExtraFields
ExtraFieldsType
Message
MessageException
Built with Crystal 1.9.2
2023-10-08 08:26:56 UTC
class
Sendgrid::Client
Sendgrid::Client
Reference
Object
Defined in:
sendgrid.cr
Constructors
.new
(address : String, api_key : String)
Instance Method Summary
#address
: String
#api_key
: String
#message
: Message | Nil
#request_body
#request_headers
#send
(message : Message, body =
nil
)
Constructor Detail
def self.
new
(address : String, api_key : String)
#
[
View source
]
Instance Method Detail
def
address
: String
#
[
View source
]
def
api_key
: String
#
[
View source
]
def
message
:
Message
| Nil
#
[
View source
]
def
request_body
#
[
View source
]
def
request_headers
#
[
View source
]
def
send
(message :
Message
, body =
nil
)
#
[
View source
]