maxstoller / referly

A Ruby wrapper for the Referly API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Referly

Referly is a Ruby wrapper for the Referly API.

Usage

You must first create a client object.

client = Referly.new(key, secret)

Accounts

client.accounts.create(email: 'foo@bar.com')

Links

client.links.create(url: 'http://refer.ly')
client.links.all

Rewards

client.rewards.create(visit_id: '12345', amount: 1.00, earned_on: '2012-07-23', payable_on: '2012-07-24')
client.rewards.all

Contributing

Pull requests are welcomed.

About

A Ruby wrapper for the Referly API.


Languages

Language:Ruby 100.0%