Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.

lexerdev/identity-gem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Lexer Identity API Client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages