Class: BaseAPI::Client

Inherits:
Object
  • Object
show all
Includes:
Thrift::Client
Defined in:
lib/base_a_p_i.rb

Direct Known Subclasses

Airavata::Client

Instance Method Summary collapse

Instance Method Details

#getAPIVersionObject



14
15
16
17
# File 'lib/base_a_p_i.rb', line 14

def getAPIVersion()
  send_getAPIVersion()
  return recv_getAPIVersion()
end

#recv_getAPIVersionObject

Raises:

  • (::Thrift::ApplicationException)


23
24
25
26
27
# File 'lib/base_a_p_i.rb', line 23

def recv_getAPIVersion()
  result = receive_message(GetAPIVersion_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getAPIVersion failed: unknown result')
end

#send_getAPIVersionObject



19
20
21
# File 'lib/base_a_p_i.rb', line 19

def send_getAPIVersion()
  send_message('getAPIVersion', GetAPIVersion_args)
end