Skip to content

Commit 6a2fb5f

Browse files
committed
Review fixes
Remove guzzle references
1 parent 11f4f4c commit 6a2fb5f

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

codegens/r-rcurl/lib/options.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,23 @@ const options = [
4949
];
5050

5151
/**
52-
* Used in order to get options for generation of PHP-Guzzle code snippet
52+
* Used in order to get options for generation of R-RCurl code snippet
5353
*
5454
* @module getOptions
5555
*
56-
* @returns {Array} Options specific to generation of PHP-Guzzlep code snippet
56+
* @returns {Array} Options specific to generation of R-RCurl code snippet
5757
*/
5858
function getOptions () {
5959
return options;
6060
}
6161

6262
module.exports = {
6363
/**
64-
* Used in order to get options for generation of PHP-Guzzle code snippet
64+
* Used in order to get options for generation of R-RCurl code snippet
6565
*
6666
* @module getOptions
6767
*
68-
* @returns {Array} Options specific to generation of PHP-Guzzle code snippet
68+
* @returns {Array} Options specific to generation of R-RCurl code snippet
6969
*/
7070
getOptions
7171
};

codegens/r-rcurl/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "@postman/codegen-r-rcurl",
33
"version": "0.0.1",
4-
"description": "Converts Postman SDK Requests to R-Curl code snippet",
4+
"description": "Converts Postman SDK Requests to R-RCurl code snippet",
55
"main": "index.js",
66
"com_postman_plugin": {
77
"type": "code_generator",
8-
"lang": "r",
9-
"variant": "rcurl",
10-
"syntax_mode": "r"
8+
"lang": "R",
9+
"variant": "RCurl",
10+
"syntax_mode": "R"
1111
},
1212
"directories": {
1313
"lib": "lib",

codegens/r-rcurl/test/unit/fixtures/sample_collection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"info": {
3-
"name": "Code-Gen Test PHP Guzzle",
3+
"name": "Code-Gen Test R RCurl",
44
"_postman_id": "43058ce7-94da-0f0f-366e-22b77d566316",
55
"description": "This collection contains requests that will be used to test validity of plugin created to convert postman request into code snippet of particular language.",
66
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"

codegens/r-rcurl/test/unit/options.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var expect = require('chai').expect,
2121
];
2222

2323
describe('getOptions function', function () {
24-
it('should return array of options for PHP-Guzzle converter', function () {
24+
it('should return array of options for R-RCurl converter', function () {
2525
expect(getOptions()).to.be.an('array');
2626
});
2727

0 commit comments

Comments
 (0)