Sha256: 8040c23993c04b8fa2b29e338eb3cc7c405e4090a3c65b1df702d382c486099b

Contents?: true

Size: 1.33 KB

Versions: 21

Compression:

Stored size: 1.33 KB

Contents

# SSCI Inc

The ssci_inc gem is a ruby gem used for submitted background check requests to
[SSCI](http://www.ssci2000.com/)

Using this API requires that you have an existing account with SSCI.

Install
--------

```shell
gem install ssci_inc
```
or add the following line to Gemfile:

```ruby
gem 'ssci_inc'
```
and run `bundle install` from your shell.

Usage
---------------------------

To create a new background check and submit it.

```ruby
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.postback_url = "http://127.0.0.1/listen.php",
  r.postback_username = "user",
  r.postback_password = "secret",
  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
```

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ssci_inc-0.1.20 README.md
ssci_inc-0.1.19 README.md
ssci_inc-0.1.18 README.md
ssci_inc-0.1.17 README.md
ssci_inc-0.1.16 README.md
ssci_inc-0.1.15 README.md
ssci_inc-0.1.14 README.md
ssci_inc-0.1.13 README.md
ssci_inc-0.1.12 README.md
ssci_inc-0.1.11 README.md
ssci_inc-0.1.10 README.md
ssci_inc-0.1.9 README.md
ssci_inc-0.1.8 README.md
ssci_inc-0.1.7 README.md
ssci_inc-0.1.6 README.md
ssci_inc-0.1.5 README.md
ssci_inc-0.1.4 README.md
ssci_inc-0.1.3 README.md
ssci_inc-0.1.2 README.md
ssci_inc-0.1.1 README.md