Ruby client for temp-mail.ru
Ruby
Latest commit fd2083c May 18, 2015 @maxd Fix README
Permalink
Failed to load latest commit information.
lib/temp
spec
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE.txt
README.md
Rakefile
temp-mail.gemspec

README.md

Build Status

temp-mail

Ruby client for temp-mail.ru

Usage

Get available domain names

require 'temp/mail'

client = Temp::Mail::Client.new
p client.available_domains

Get incoming e-mails

require 'temp/mail'

client = Temp::Mail::Client.new
p client.incoming_emails('monkey9000@flurred.com')

Here is Temp Mail API specification. It describe all fields of e-mail objects in incoming list.

Contributing

  1. Fork it ( https://github.com/maxd/temp-mail/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request