Sha256: 76f80d5b15aa07e3087c9b090ee4fa69045bd18b41d361732084620223403f83

Contents?: true

Size: 885 Bytes

Versions: 1

Compression:

Stored size: 885 Bytes

Contents

# YoClient [![Build Status](https://travis-ci.org/youcune/yo_client.svg?branch=master)](https://travis-ci.org/youcune/yo_client)

is a Ruby client of [Yo](http://www.justyo.co/).

## 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yo_client-0.0.2 README.md