SSCI Inc
The ssci_inc gem is a ruby gem used for submitted background check requests to SSCI
Using this API requires that you have an existing account with SSCI.
Install
gem install ssci_inc
or add the following line to Gemfile:
gem 'ssci_inc'
and run bundle install
from your shell.
Usage
To create a new background check and submit it.
request = SsciInc::Request.new do |r|
r.user_name = "XML_TST",
r.password = "ScROLL447breaK",
r.type = "TST Media",
r.reference_id = 112233,
r.reference = "ABC Company Inc.",
r.given_name = "HANK",
r.family_name = "MESS",
r.ssn = "333-22-1111",
r.date_of_birth = "1960-01-01",
r.postal_code = "60750",
r.region = "IL",
r.municipality = "FANTASY ISLAND",
r.address_line = 899,
r.street_name = "LINCOLN RD",
r.use_defaults = true
end
# or initialize with a hash
request = SsciInc::Request.new(hash)
# or initialize with nothing and build on the fly
request = SsciInc::Request.new
request.user_name = "..."
# and then add some screens
request.criminal_county_screen do |screen|
screen.region "WA"
screen.county "KING"
end
request.submit # => SsciInc::Response