code: def get_gateway_info(self):
          
          def process_result(result):
              return GatewayInfo(result)
  
          return Command('get',
                         [ROOT_GATEWAY, ATTR_GATEWAY_INFO],
                         process_result=process_result)
docs: Return the gateway info.
  
          Returns a Command.