module Recharge::HTTPRequest::Count

Make a count request to the included/extended class' endpoint

Arguments

options (Hash)

Optional arguments to filter the count on.

See the appropriate count call in ReCharge’s documentation for valid options.

Returns

Fixnum of the resulting count

Errors

Recharge::ConnectionError, Recharge::RequestError

Public Instance Methods

count(options = nil) click to toggle source
# File lib/recharge/http_request.rb, line 119
def count(options = nil)
  GET(join("count"), options)["count"]
end