code: def __register_methods(self, parsed_config):
      
      methods = parsed_config.get('methods')
      if not methods:
        return
  
      for method_name, method in methods.iteritems():
        self.__api_methods[method_name] = method.get('rosyMethod')
docs: Register all methods from the given api config file.
  
      Methods are stored in a map from method_name to rosyMethod,
      the name of the ProtoRPC method to be called on the backend.
      If no rosyMethod was specified the value will be None.
  
      Args:
        parsed_config: The JSON object with the API configuration being added.