method

prefix

rails latest stable - Class: ActiveResource::Base

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

prefix(options={})
public

Gets the prefix for a resource’s nested URL (e.g., prefix/collectionname/1.json) This method is regenerated at runtime based on what the prefix is set to.