Module: Hyperb::Misc
- Included in:
- API
- Defined in:
- lib/hyperb/misc.rb
Overview
simple wrapper for the version endpoint
Instance Method Summary collapse
-
#info ⇒ Object
returns system-wide information about user account.
-
#version ⇒ Object
returns current version of hyper.sh api.
Instance Method Details
#info ⇒ Object
returns system-wide information about user account
13 14 15 |
# File 'lib/hyperb/misc.rb', line 13 def info JSON.parse(Hyperb::Request.new(self, '/info', {}, 'get').perform) end |
#version ⇒ Object
returns current version of hyper.sh api
8 9 10 |
# File 'lib/hyperb/misc.rb', line 8 def version JSON.parse(Hyperb::Request.new(self, '/version', {}, 'get').perform) end |