class Dsj::Diningcity::Client

Public Instance Methods

GetRestaurantById(id) click to toggle source
# File lib/dsj_thrift/diningcity.rb, line 15
def GetRestaurantById(id)
  send_GetRestaurantById(id)
  return recv_GetRestaurantById()
end
recv_GetRestaurantById() click to toggle source
# File lib/dsj_thrift/diningcity.rb, line 24
def recv_GetRestaurantById()
  result = receive_message(GetRestaurantById_result)
  return result.success unless result.success.nil?
  raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'GetRestaurantById failed: unknown result')
end
send_GetRestaurantById(id) click to toggle source
# File lib/dsj_thrift/diningcity.rb, line 20
def send_GetRestaurantById(id)
  send_message('GetRestaurantById', GetRestaurantById_args, :id => id)
end