github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

pdsphil / ruby-idology

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 3
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Ruby interface to the IDology API — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

another .gitignore change 
pdsphil (author)
Tue Feb 26 20:00:10 -0800 2008
commit  7933d08325be46cfece5c9ea0b8bf35b5125c7cf
tree    02a893c7577625668932fc14383d295804db5a83
parent  b7fbddef94873c4746574cb137e34dadd22744d0
ruby-idology /
name age
history
message
file .gitignore Loading commit data...
file LICENSE
file README
file base.rb
file id_verification.rb
directory id_verification/
README
== Notes

This code has come straight from a production Rails app. It will soon be a Rails plugin, but for now, I suggest putting 
it in the lib/ directory of your Rails project.

You must have a valid IDology account to test or use this API library.

== ID Verification via IDology

Assuming you have a local proxy setup to the development server - and the development server's IP is authorized to 
access the IDology API - here is a curl command to test whether or not the API is working correctly. In this example, 
the socks v5 proxy is using 'ssh -D localhost:1080' to setup a temporary proxy between the development machine and the 
development server. Note that the username / password must be correct.

This curl command will perform a search for 'Mickey Mouse' - a valid test record in the IDology system

curl -v --socks http://127.0.0.1:1080 -d username=test -d password=test -d firstName=mickey -d lastName=mouse -d 
address='15 MIDLAND AVE APT' -d city=paramus -d state=NJ -d zip=07652 https://web.idologylive.com/api/idlive.svc


== Configuration

The id_verification directory must contain a file called 'config.yml' using the following format:

# IDology API username and password
username: your_api_username
password: your_api_password

It is recommended that you symlink this file to the directory after deploy for security reasons. This file is also 
required for development mode - just fill with dummy data.

== Tests

To run the rspec tests, make sure you are in the lib/api/id_verification directory and type 'spec -cfs spec/' - these 
tests do not hit the API directly, they use fixtures.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server