No release in over 3 years
Low commit activity in last 3 years
A simple Ruby with no external dependencies, to easily integrate with Everylog API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

EveryLog Ruby Client

A fantastic (and simple) gem to interact with the EveryLog API

Installation

Add this line to your application's Gemfile:

gem 'everylog_ruby_client'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install everylog_ruby_client

Usage

require 'everylog_ruby_client'

# @param [Hash] options
# @option options [String] :api_key for authenticate against EveryLog server
# @option options [String] :projectId name of the project
# @option options [String] :everylog_url (https://api.everylog.io/api/v1/log-entries) to reach Everlog server
$everylog_client = EverylogRubyClient.instance.setup(api_key: <YOUR_API_KEY>, projectId: <YOUR_PROJECT_NAME>)

# @param [Hash] log_entry_options
# @option log_entry_options [String, options[:projectId]]  :projectId name of the project
# @option log_entry_options [String]  :title to display in the application and if enabled in the notification
# @option log_entry_options [String]  :summary is a not so long text to display on the application and if enabled in the notification
# @option log_entry_options [String]  :body it can contain a long text simple formatted, no html to display in the application
# @option log_entry_options [Array]   :tags it can be used to categorize the notification, must be strings
# @option log_entry_options [String]  :link it can be used to display on the application and if enabled in the notification
# @option log_entry_options [Boolean] :push if True, a push notification is sent to application
$everylog_client.create_log_entry(...)

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/everylogsaas/everylog_ruby_client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the EveryLog ruby client project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.