0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Consume and Contribute Identity data from your Ruby applications.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Lexer Identities Official Ruby Client Library

Build Status Code Climate Gem Version

Lexer Identity Gem is the official Ruby Client for the Lexer Identity API. The Lexer Identity API lets brands contribute and consume from Lexer's Identity database directly from their apps.

Installation

Add to your Gemfile:

gem 'lexer-identity'

or install from Rubygems:

gem install lexer-identity

And include it in your project as:

require 'lexer'

Use

# Configure using the provided tokens
Lexer::Identity.configure do |config|
  config.api_token = "..."
  config.contributor_token = "..."
  config.consumer_token = "..."
end

# Communicate via the enrich method
Lexer::Identity.enrich( links: { email: "test@lexer.io", twitter: "camplexer" }, attributes: { "io.lexer.name": { value: "Jane Smith", confidence: Lexer::Identity::CONFIDENCE_PROVIDED, ... } )

Further Reading

See the full documentation at http://developer.lexer.io.