class Mandrill::Users

Defined in:

mandrill/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(master) #

[View source]

Instance Method Detail

def info #

Return the information about the API-connected user @return [Hash] the user information including username, key, reputation, quota, and historical sending stats

- [String] username the username of the user (used for SMTP authentication)
- [String] created_at the date and time that the user

[View source]
def ping #

Validate an API key and respond to a ping (anal JSON parser version) @return [Hash] a struct with one key "PING" with a static value "PONG!"


[View source]
def senders #

Return the senders that have tried to use this account, both verified and unverified @return [Array] an array of sender data, one for each sending addresses used by the account

- [Hash] return[] the information on each sending address in the account
    - [String] address the sender

[View source]