Skip to contents

Publishes a Recipe object to the API.

Usage

publish_recipe(recipe)

Arguments

recipe

A Recipe object.

Value

A JSON object containing the API response.

Details

This function sends a Recipe object to the API for publication.

Examples

# Example of publishing a Recipe object to the API
publish_recipe(recipe_obj)
#> Error: object 'recipe_obj' not found