Skip to contents

A contact object provides contact information for the API.

Usage

class_contact(name = character(0), email = character(0), url = character(0))

Arguments

name

Character scalar (optional). The identifying name of the contact person or organization.

email

Character scalar (optional). The email address of the contact person/organization. This must be in the form of an email address.

url

Character scalar (optional). The URL pointing to the contact information.

Value

A contact S7 object describing who to contact for information about the API, with fields name, email, and url.

See also

Examples

class_contact(
  "API Support",
  "support@example.com",
  "https://www.example.com/support"
)
#> <rapid::contact>
#>  @ name : chr "API Support"
#>  @ email: chr "support@example.com"
#>  @ url  : chr "https://www.example.com/support"