Luosimao
TODO: Write a gem description
Installation
Add this line to your application's Gemfile:
gem 'gm-luosimao', require: 'luosimao'And then execute:
$ bundle
Or install it yourself as:
$ gem install gm-luosimao
Usage
Config
Luosimao.username = "yyc"
Luosimao.key = "api-key"
Luosimao.brand = "【有演出】"Send message
Luosimao::Message.to("10086", "hello world!")
# Luosimao.send_to(%w(10086 10010), "hello world!")Contributing
- Fork it ( https://github.com/[my-github-username]/luosimao/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