documentation-zero 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7d5ca3d94dfc5e43064e6ab72c119b1b70b9cd42d5253ccdbfda53adea386a0
4
- data.tar.gz: 4eb89e52a8516a08b270595d79a517f23c964a9e49d726c5762835d218c221a5
3
+ metadata.gz: 2650852c4529a8d663213c01b7c0b492fd81c601247c817ce17cf204a5f44872
4
+ data.tar.gz: b2eee6d289c54bf1ef547b0e8cf4f52df36bfd6b164ca96523b095daa37e35c4
5
5
  SHA512:
6
- metadata.gz: 3ec941e03d9adfbd750849f9ad4455b7d873df56fddf7dd9bebd6c518ee0b92fdab3074242b3d164872f9845512386743baa6dd17ef41183561a8bc0f2cf24a3
7
- data.tar.gz: 779c760f21f1b41b765c08aea28b4930620d91810866026b067b0e3e4fe9ffa7a539c3ce59b8167fbd6f255ea5fd60dac5568b83b29340555b4e144394234af3
6
+ metadata.gz: b8d1ef81d109b58cab60dd37b06eb9ba310a7fcfc8c59efcd7de8bc14fb907e90820dfeb6aefb62c4dea09326b367ec9f41d70dfab991b69e56608e2e3eb695d
7
+ data.tar.gz: a8de4dc6df6b59904c9b649fd27f9d443e98e6765234d1348fc55295718522ec638370f8f3b1dc34ffc41111747f99bb615a888d4031a43b6962ea74d013b356
@@ -41,13 +41,13 @@ _Optional parameters_:
41
41
  * `content` - attribute from post.
42
42
  * `published` - attribute from post.
43
43
 
44
- This endpoint will return `201 Created` with the current JSON representation of the [post](#model) if the creation was a success.
44
+ This endpoint will return `201 Created` with the current JSON representation of the post if the creation was a success. See the [post](#model) model for more info on the payload.
45
45
 
46
46
  ## Update post
47
47
 
48
48
  - `PUT /posts/1.json` allows changing the post with an ID of `1`.
49
49
 
50
- This endpoint will return `200 OK` with the current JSON representation of the [post](#model) if the update was a success.
50
+ This endpoint will return `200 OK` with the current JSON representation of the post if the update was a success. See the [post](#model) model for more info on the payload.
51
51
 
52
52
  <!--
53
53
  **Required parameters**: `attribute1` and `attribute2`.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- documentation-zero (0.0.3)
4
+ documentation-zero (0.0.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module DocumentationZero
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -41,13 +41,13 @@ _Optional parameters_:
41
41
  * `<%= attribute.column_name %>` - attribute from <%= human_name.downcase %>.
42
42
  <% end -%>
43
43
 
44
- This endpoint will return `201 Created` with the current JSON representation of the [<%= human_name.downcase %>](#model) if the creation was a success.
44
+ This endpoint will return `201 Created` with the current JSON representation of the <%= human_name.downcase %> if the creation was a success. See the [<%= human_name.downcase %>](#model) model for more info on the payload.
45
45
 
46
46
  ## Update <%= human_name.downcase %>
47
47
 
48
48
  - `PUT /<%= plural_name %>/1.json` allows changing the <%= human_name.downcase %> with an ID of `1`.
49
49
 
50
- This endpoint will return `200 OK` with the current JSON representation of the [<%= human_name.downcase %>](#model) if the update was a success.
50
+ This endpoint will return `200 OK` with the current JSON representation of the <%= human_name.downcase %> if the update was a success. See the [<%= human_name.downcase %>](#model) model for more info on the payload.
51
51
 
52
52
  <!--
53
53
  **Required parameters**: `attribute1` and `attribute2`.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: documentation-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nixon