Skip to content

Commit f76f7cd

Browse files
committed
some naming updates
1 parent 4c7265d commit f76f7cd

File tree

12 files changed

+58
-58
lines changed

12 files changed

+58
-58
lines changed

R/Plumber2.R

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
#'
33
#' @description
44
#' This class encapsulates all of the logic of a plumber2 api, and is what gets
5-
#' passed around in the functional api of plumber2. The Plumber2 class is a
5+
#' passed around in the functional api of plumber2. The `Plumber2` class is a
66
#' subclass of the [fiery::Fire] class. Please consult the documentation for
77
#' this for additional information on what this type of server is capable of.
8-
#' Note that the Plumber2 objects are reference objects, meaning that any change
9-
#' to it will change all instances of the object.
8+
#' Note that the `Plumber2` objects are reference objects, meaning that any
9+
#' change to it will change all instances of the object.
1010
#'
1111
#' ## Initialization
12-
#' A new 'Plumber2'-object is initialized using the `new()` method on the
12+
#' A new `Plumber2`-object is initialized using the `new()` method on the
1313
#' generator:
1414
#'
1515
#' \tabular{l}{
@@ -176,7 +176,7 @@ Plumber2 <- R6Class(
176176

177177
if (!silent)
178178
cli::cli_text(
179-
"Plumber2 server started at http://{self$host}:{self$port}"
179+
"plumber2 server started at http://{self$host}:{self$port}"
180180
)
181181
super$ignite(block = block, showcase = showcase, ..., silent = TRUE)
182182
},

R/api.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#' Create a new plumber API, optionally based on one or more plumber files
22
#'
3-
#' This is the main way to create a new Plumber2 object that encapsulates your
3+
#' This is the main way to create a new [Plumber2] object that encapsulates your
44
#' full api. It is also possible to add files to the API after creation using
55
#' `api_parse()`
66
#'

R/api_logger.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#' Set logging function and access log format for the API
22
#'
3-
#' Plumber2 has a build-in logging facility that takes care of logging any
3+
#' plumber2 has a build-in logging facility that takes care of logging any
44
#' conditions that are caught, as well as access logs. Further it is possible to
55
#' log custom messages using the `log()` method on the api object. However, the
66
#' actual logging is handled by a customizable function that can be set. You can

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ get type checked and default value imputed if missing.
118118

119119
For the `/plot` handler you can also see that it specifies multiple serializers.
120120
Doing so will allow the client to request its preferred response format using
121-
the `Accept` header. Plumber2 will then perform content negotiation to figure
121+
the `Accept` header. plumber2 will then perform content negotiation to figure
122122
out the best response format based on what it supports and what the client
123123
prefers.
124124

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ checked and default value imputed if missing.
111111

112112
For the `/plot` handler you can also see that it specifies multiple
113113
serializers. Doing so will allow the client to request its preferred
114-
response format using the `Accept` header. Plumber2 will then perform
114+
response format using the `Accept` header. plumber2 will then perform
115115
content negotiation to figure out the best response format based on what
116116
it supports and what the client prefers.
117117

man/Plumber2.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/api.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/api_logger.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/_ex-mailgun.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Once you have a domain setup, you just add a route that tells mailgun what to do
2424

2525
![](files/images/mailgun-routes.png)
2626

27-
## Plumber API
27+
## Plumber2 API
2828

2929
This example will auto-refresh every 3 seconds with the latest emails the API has received. Try sending an email to <a href="mailto:[email protected]">[email protected]</a> to see the API at work.
3030

vignettes/annotations.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ api() %>%
350350
api_statics("/", "./assets/static_files", except = "/secret_files")
351351
```
352352

353-
## Plumber annotation {#plumber-block-annotations}
353+
## plumber2 annotation {#plumber-block-annotations}
354354

355355
| Annotation | Arguments | Description/References |
356356
|-------------------|-------------------|----------------------------------|

0 commit comments

Comments
 (0)