Method: Mandrill::Rejects#list
- Defined in:
- lib/mandrill/api.rb
#list(email = nil, include_expired = false, subaccount = nil) ⇒ Array
Retrieves your email rejection blacklist. You can provide an email address to limit the results. Returns up to 1000 results. By default, entries that have expired are excluded from the results; set include_expired to true to include them.
470 471 472 473 |
# File 'lib/mandrill/api.rb', line 470 def list(email=nil, include_expired=false, subaccount=nil) _params = {:email => email, :include_expired => include_expired, :subaccount => subaccount} return @master.call 'rejects/list', _params end |