method

new

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.