Skip to content

GorgonLLC/hanami_email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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: "[email protected]")
# => {"id"=>12345, "from"=>"foo", "to"=>"[email protected]", "status"=>"activated"}

x = HanamiEmail::Alias.list
# => {"data"=>[{"from"=>"foo", "to"=>"[email protected]"}]}

x = HanamiEmail::Alias.delete(from: "foo", to: "[email protected]")
# => {"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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages