method

new

rails latest stable - Class: ActiveResource::Connection

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.

new(site, format = ActiveResource::Formats::JsonFormat)
public

The site parameter is required and will set the site attribute to the URI for the remote resource service.