Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
This gem works as a simple Ruby wrapper for the Enviso API. The Enviso API has a very straight forward REST API.
All this gem does, is make it a little bit simpler to use the API:
Add this line to your application's Gemfile:
gem 'enviso'
And then execute:
$ bundle
Or install it yourself as:
$ gem install enviso
First, obtain an API key and shared secret from Enviso. Set it up like this:
Enviso::Config.api_key = "MY-API-KEY"
Enviso::Config.api_secret = "MY-API-SHARED-SECRET" # pubic key
Enviso::Config.tenant_key = "TENANT-KEY"
Enviso::Config.verbose = false # set 'true' to show raw API input/output
Enviso::Config.api_link = "https://api.staging-enviso.io/resellingapi/"
Enviso::Config.api_version = 1
To use this gem in a Rails project:
# config/development.rb
config.enviso.api_key = "MY-API-KEY"
config.enviso.api_secret = "MY-API-SHARED-SECRET" # pubic key
config.enviso.tenant_key = "TENANT-KEY"
config.enviso.verbose = false # set 'true' to show raw API input/output
config.enviso.api_link = "https://api.staging-enviso.io/resellingapi/"
config.enviso.api_version = 1
All there is left is to use the API according to the documentation:
Enviso::API.send_request(type: :get, endpoint: "venues/84/offers")
# => Returns Hash from JSON response
Everyone interacting in the Enviso project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
FAQs
Unknown package
We found that enviso demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.