Module: BWAPI::Client::Admin::Demographics

Included in:
BWAPI::Client::Admin
Defined in:
lib/bwapi/client/admin/demographics.rb

Overview

Demographics module for admin/demographics endpoints

Instance Method Summary collapse

Instance Method Details

#classify_author(opts = {}) ⇒ Hash

Get the classification of an author by author description

Parameters:

  • opts (Hash) (defaults to: {})

    options hash of parameters

Options Hash (opts):

  • description (String)

    of the author

Returns:

  • (Hash)

    Classification of an author



11
12
13
# File 'lib/bwapi/client/admin/demographics.rb', line 11

def classify_author(opts = {})
  get 'admin/demographics/classify', opts
end