Ruby client for TempMailRu
require 'tempmailru/api'
tempmailru_api = TempMailRu::Api.new(nil, "http")
tempmailru_api.domains
require 'tempmailru/api'
tempmailru_api = TempMailRu::Api.new(nil, "http")
domain = tempmailru_api.domains[0]
tempmailru_api = TempMailRu::Api.new("test#{domain}")
tempmailru_api.inbox
require 'tempmailru/api'
tempmailru_api = TempMailRu::Api.new(nil, "http")
domain = tempmailru_api.domains[0]
tempmailru_api = TempMailRu::Api.new("test#{domain}")
tempmailru_api.source
require 'tempmailru/api'
tempmailru_api = TempMailRu::Api.new(nil, "http")
domain = tempmailru_api.domains[0]
tempmailru_api = TempMailRu::Api.new("test#{domain}")
tempmailru_api.delete
Here is TempMailRu API specification.
- Fork it ( https://github.com/yogahp/TempMailRu/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request