Skip to content

utopia-opensource/utopialib-ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

Install

gem install utopialib

How to run tests from examples

First, you need gem to load the environment variables, which is used in the examples:

gem install dotenv

Make changes to .env:

cp example.env .env

and run in cli:

cd examples
ruby example1.rb

result:

check client availability..
client connected

call the GetSystemInfo method..

{"buildAbi"=>"x86_64-little_endian-llp64", "buildCpuArchitecture"=>"x86_64", "build_number"=>"1.0.5986", "currentCpuArchitecture"=>"x86_64", "netCoreRate"=>25, "networkCores"=>4, "networkEnabled"=>true, "numberOfConnections"=>8, "packetCacheSize"=>920, "uptime"=>"00:05:34"}

LICENSE

MIT license

About

Utopia Ecosystem API wrapper written in Ruby/On Rails

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 99.3%
  • Shell 0.7%