YoClient Build Status

is a Ruby client of Yo.

Installation

Add this line to your application's Gemfile:

gem 'yo_client', github: 'youcune/yo_client'

And then execute:

$ bundle

Usage

client = YoClient::Client.new(API_TOKEN)

# Send A Yo To All Subscribers
client.yoall

# Yo Individual Usernames
# Note that USERNAME will be upcased and sent to API
client.yo(USERNAME)

# Count Total Subscribers
client.subscribers_count # -> 5

Contributing

  1. Fork it ( https://github.com/youcune/yo_client/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request