You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -342,6 +342,22 @@ resource "Orders" do
342
342
end
343
343
```
344
344
345
+
#### explanation
346
+
347
+
This method takes a string representing a detailed explanation of the example.
348
+
349
+
```ruby
350
+
resource "Orders"do
351
+
post "/orders"do
352
+
example "Creating an order"do
353
+
explanation "This method creates a new order."
354
+
do_request
355
+
# make assertions
356
+
end
357
+
end
358
+
end
359
+
```
360
+
345
361
#### header
346
362
347
363
This method takes the header name and value. The value can be a string or a symbol. If it is a symbol it will `send` the symbol, allowing you to `let` header values.
0 commit comments