Module: Hyperb::HyperVersion

Included in:
API
Defined in:
lib/hyperb/hyper_version.rb

Overview

simple wrapper for the version endpoint

Instance Method Summary collapse

Instance Method Details

#versionObject

returns current version of hyper.sh api



8
9
10
# File 'lib/hyperb/hyper_version.rb', line 8

def version
  JSON.parse(Hyperb::Request.new(self, '/version', {}, 'get').perform)
end