flespi-ruby is a flespi Remote API Wrapper for ruby language.
Use the package manager bundler to install flespi-ruby.
gem install flespi
OR
gem 'flespi'
and execute a bundle install
require 'flespi'
# Initialize flespi instance
debug = true
flespi = Flespi.new("YourTokenHere", deubg)
# Login with API Token
flespi.get('/gw/devices/all')
# Logout
flespi.logout
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.