Legion::Settings is a hash like class used to store LegionIO Settings.
Legion::Json should work identically on:
- JRuby 9.2+
- Ruby 2.4+
You can verify your installation using this piece of code:
gem install legion-json
require 'legion-settings'
Legion::Settings.load(config_dir: './') # will automatically load json files it has access to inside this dir
Legion::Settings[:client][:hostname]
Legion::Settings[:client][:new_attribute] = 'foobar'
- Matthew Iverson - current maintainer