Sha256: 0e4b58104ebe3b8b38216c5cc6edeb4ffeb13f0364915723a4464d5174844783
Contents?: true
Size: 1.11 KB
Versions: 1
Compression:
Stored size: 1.11 KB
Contents
[](https://travis-ci.org/lenshq/lens_client) [](https://codeclimate.com/github/lenshq/lens_client) [](https://codeclimate.com/github/lenshq/lens_client/coverage) # Lens ruby gem ### Installation Add to your Gemfile ```ruby gem 'lens', '~> 0.0.8' ``` or, if you want bleeding edge, ```ruby gem 'lens', github: 'lenshq/lens_client' ``` ### Configuration * Get your application key at [LensHQ site](http://lenshq.io) * Create file `config/initializers/lens.rb` * Configure Lens client (sample config below) * Start sending your data to Lens =] ```ruby # config/initializers/lens.rb Lens.configure do |config| config.app_key = 'super_secret_key' end ``` if you want to use Lens server at your instance ```ruby # config/initializers/lens.rb Lens.configure do |config| config.app_key = 'super_secret_key' config.protocol = 'http' config.host = 'localhost' config.port = 3001 end ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lens-0.0.8.2 | README.md |