Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Commit

Permalink
formatting readme file
Browse files Browse the repository at this point in the history
Signed-off-by: David A. Cuadrado <krawek@gmail.com>
  • Loading branch information
dcu committed Feb 8, 2012
1 parent 6efbb89 commit 1d5d9e2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ Ruby library to access the Authy API

== Usage

require 'authy'
require 'authy'

Authy.api_key = 'your-api-key'
Authy.api_uri = 'http://test-authy-api.heroku.com/'
Authy::API.register_user(:user => {:email => 'your@email.com'})
Authy::API.verify(:id => 'your-device-id', :otp => 'current-otp')
Authy.api_key = 'your-api-key'
Authy.api_uri = 'http://test-authy-api.heroku.com/'
Authy::API.register_user(:user => {:email => 'your@email.com'})
Authy::API.verify(:id => 'your-device-id', :otp => 'current-otp')

Available calls:

#register_user
#moving_factor
#register_device
#verify
#register_user
#moving_factor
#register_device
#verify

== Contributing to authy

Expand Down

0 comments on commit 1d5d9e2

Please sign in to comment.