SendCloud

Ruby client for sohu sendcloud api

Installation

Add this line to your application's Gemfile:

gem 'send-cloud'

And then execute:

$ bundle

Or install it yourself as:

$ gem install send-cloud

Usage

Configure

SendCloud.setup do |config|
  config.api_user = 'your api user'
  config.api_key = 'your api key'
end

Call the api

SendCloud::Mail.send(from: '[email protected]', to: '[email protected]', subject: 'test', html: 'test')