Mole

Easily send events to Orwell from within your Ruby application.

Gem VersionBuild Status Code Climate Coverage Status Dependency Status

Gemfile

  • gem 'orwell-mole', require: 'orwell/mole'

Configuration

Mole.config do |c|
  c.api_token = 'your orwell api token'
end

Usage

@channel = Mole.channel(:accounts)
@channel.record(:new_account, params[:email], params)

@channel = Mole.track(@user.email, :accounts)
@channel.record(:password_change)