Class: Rubymail::Log

Inherits:
Object show all
Defined in:
lib/rubymail/log.rb

Instance Method Summary collapse

Constructor Details

#initialize(rubymail, domain) ⇒ Log

Returns a new instance of Log.



3
4
5
6
# File 'lib/rubymail/log.rb', line 3

def initialize(rubymail, domain)
@rubymail = rubymail
@domain = domain
end

Instance Method Details

#list(options = {}) ⇒ Object



8
9
10
# File 'lib/rubymail/log.rb', line 8

def list(options={})
Rubymail.submit(:get, log_url, options)
end