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.
# File activeresource/lib/active_resource/base.rb, line 586
def prefix(options={})
default = site.path
default << '/' unless default[-1..-1] == '/'
# generate the actual method based on the current site path
self.prefix = default
prefix(options)
end