Apply the parser to a resource.

parser(object, ...)

Arguments

object

active_resource. See active_resource.

...

additional parameters to pass to the next layer in the resource parsing tower.

parse.

logical. Whether or not to apply the parser to the resource. If FALSE, this is equivalent to sourcing the resource's file without running its parser. By default, TRUE.

Value

The parsed resource, usually some useful R object.

Note

The parameters must be named object and ... due to this method's inclusion in a tower.