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

pdsphil / ruby-merlin

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

click here to add a description

click here to add a homepage

  • Branches (2)
    • master ✓
    • test-ideas
  • 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 Merlin API — Read more

  cancel

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

This URL has Read+Write access

adding .gitignores 
pdsphil (author)
Tue Feb 26 20:03:41 -0800 2008
commit  d54621cd45bba0007b9b97268213dfa18aa264f8
tree    1f7b8b6936e5f624984be063adaef49bc36ade18
parent  745439e056bf831b518605584c69898acc56e9a3
ruby-merlin /
name age
history
message
file .gitignore Loading commit data...
file LICENSE
file README
file base.rb
file id_detail.rb
directory id_detail/
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 Merlin account to test or use this code.

== ID data via Merlin

To use the IDDetail classes, load irb or script/console. You must "require 'id_detail'" to proceed. Once you have the 
libraries required, there are a few simple statements to call the Merlin API given a SSN:

sub = API::IDDetail::Subject.new("your SSN")
sub.locate

After calling the locate() method, the sub object will have a parsed set of data in its identity attribute - 
'sub.identity' to access.

== Configuration

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

# Merlin 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 id_detail 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