class BrickFTP::RESTfulAPI::CountUsers
Count users
@see developers.files.com/#count-users Count users
Public Instance Methods
call()
click to toggle source
Returns a count of the number of users for the current site.
@return [Integer] count
# File lib/brick_ftp/restful_api/count_users.rb, line 16 def call res = client.get('/api/rest/v1/users.json?action=count') res['data']['count'] end