YoApp / hey

Ruby library for the Yo API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hey

A Ruby library for sending yo's from Yo.

github.com/jackjennings/hey

Gem Version Code Climate Build Status

Installation

gem install hey

Usage

First get an API token.

Then:

Hey.api_token = '3858f62230ac3c915f300c664312c63f'
Hey::Yo.all # or yo a specific user...
Hey::Yo.user "WORLDCUP"

# or set api_token on a Yo instance:

yo = Hey::Yo.new(api_token: '3858f62230ac3c915f300c664312c63f')
yo.all
yo.user "WORLDCUP"

That's it!

About

Ruby library for the Yo API

License:MIT License