Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Tiny fix to inline docs #8

merged 2 commits into from

2 participants

David Haywood Smith Harry Marr
David Haywood Smith
DHS commented

Just spotted this...

Harry Marr hmarr merged commit d4706d3 into from
Harry Marr


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 8, 2012
  1. David Haywood Smith

    Tiny fix to inline API docs

    DHS authored
  2. David Haywood Smith

    Another tiny inline doc fix

    DHS authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/gocardless/client.rb
5 lib/gocardless/client.rb
@@ -250,7 +250,7 @@ def confirm_resource(params)
# Validates the payload contents of a webhook request.
# @param [Hash] params the contents of payload of the webhook
- # @return [boolean] true when valid, false otherwise
+ # @return [Boolean] true when valid, false otherwise
def webhook_valid?(params)
@@ -261,8 +261,7 @@ def webhook_valid?(params)
# @param [Symbol] method the HTTP method to use (e.g. +:get+, +:post+)
# @param [String] path the path fragment of the URL
- # @option [String] body the request body
- # @option [Hash] params query string parameters
+ # @option [Hash] opts query string parameters
def request(method, path, opts = {})
raise ClientError, 'Access token missing' unless @access_token
opts[:headers] = {} if opts[:headers].nil?
Something went wrong with that request. Please try again.