method

new

new(data)
public

Creates a new generic resource.