self.class isn't necessary in this implementation, and we should use the variable for the API url