Skip to content

Latest commit

 

History

History
67 lines (40 loc) · 1.21 KB

README.md

File metadata and controls

67 lines (40 loc) · 1.21 KB

Referrari

Build Status Code Climate security

Referrari icon

Overview

A simple referral library.

Installation

Add this line to your application's Gemfile:

gem 'referrari'

And then execute:

$ bundle

Or install it yourself as:

$ gem install referrari

Getting Started

Run the migrations in your app

rake app:referrari:install:migrations

Usage

Configuring Models

User

The user model is expected.

class User < ActiveRecord::Base
  include Referrari::User
end

Contributing

Fork it ( github.com/[my-github-username]/referrari/fork )

Create your feature branch (git checkout -b my-new-feature)

Commit your changes (git commit -am 'Add some feature')

Push to the branch (git push origin my-new-feature)

Create a new Pull Request