Skip to content

maxstoller/referly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: '[email protected]')

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.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages