Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HanamiEmail

A Ruby API client for the Hanami email forwarding service

Usage

HanamiEmail.configure do |x|
  x.default_domain = "example.com"
  x.api_key = "sk_ZX_igr4rZWD8sveAPLNJZ3jRWsuuu"
end

x = HanamiEmail::Alias.create(from: "foo", to: "bar@gmail.com")
# => {"id"=>12345, "from"=>"foo", "to"=>"bar@gmail.com", "status"=>"activated"}

x = HanamiEmail::Alias.list
# => {"data"=>[{"from"=>"foo", "to"=>"bar@gmail.com"}]}

x = HanamiEmail::Alias.delete(from: "foo", to: "bar@gmail.com")
# => {"data"=>{"success"=>true}}

License

The gem is available as open source under the terms of the MIT License.

About

Ruby API client for Hanami email service

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages