method

create_resource_for

create_resource_for(resource_name)
private

Create and return a class definition for a resource inside the current resource