class Figshare::Authors

Figshare Author APIs

Public Instance Methods

detail(author_id:, &block) click to toggle source

Get an authors details

@param author_id [Integer] Figshare Author ID @yield [Hash] {id, first_name, last_name, full_name, url_name, is_active, is_public, orcid_id, institution_id, group_id, job_title}

# File lib/authors.rb, line 36
def detail(author_id:, &block)
  get(api_query: "account/authors/#{author_id}",  &block)
end