module Hyperb::Misc

simple wrapper for the version endpoint

Public Instance Methods

info() click to toggle source

returns system-wide information about user account

# File lib/hyperb/misc.rb, line 13
def info
  JSON.parse(Hyperb::Request.new(self, '/info', {}, 'get').perform)
end
version() click to toggle source

returns current version of hyper.sh api

# File lib/hyperb/misc.rb, line 8
def version
  JSON.parse(Hyperb::Request.new(self, '/version', {}, 'get').perform)
end