# File lib/etherpad-lite/models/author.rb, line 60 def self.create(instance, options={}) result = options[:mapper] \ ? instance.client.createAuthorIfNotExistsFor(authorMapper: options[:mapper], name: options[:name]) \ : instance.client.createAuthor(options) new instance, result[:authorID], options end