Class: QNE::SystemVersion

Inherits:
Base
  • Object
show all
Defined in:
lib/system_version.rb

Constant Summary collapse

PATH =
'/api/System/Version'

Instance Attribute Summary

Attributes inherited from Base

#conn, #response

Instance Method Summary collapse

Methods inherited from Base

#initialize, #parse_to_json, #success?

Constructor Details

This class inherits a constructor from QNE::Base

Instance Method Details

#callObject



7
8
9
10
11
# File 'lib/system_version.rb', line 7

def call
  @response = conn.get(PATH)

  parse_to_json(@response.body)
end