Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This method has previously been mentioned in the README, but was not defined. This PR defines the method, with an additional parameter to take the user requested content-type, which must match due to the signed headers.
Additionally, I noticed that API methods claim in their YARD docs to return a
Hash
but actually return anHTTP::Response
which must be called with.parse
to access aHash
version of the response.I indicated this in line the functionality in the new YARD docs I wrote, but it may be useful to update existing occurrences elsewhere in the gem.