Sha256: 327e93513ed996361c00fe46c674fd9378d2e04c4e369caa17f065b9c1cac805

Contents?: true

Size: 282 Bytes

Versions: 2

Compression:

Stored size: 282 Bytes

Contents

module Google
  module Scholar
    class AuthorSearch < Google::Scholar::Base
      def authors
        return unless @scraper.documents.first.kind_of?(Google::Scholar::AuthorsDocument)
        @authors ||= Google::Scholar::AuthorEnumerator.new(@scraper)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
google-scholar-0.0.2 lib/google/scholar/author_search.rb
google-scholar-0.0.1 lib/google/scholar/author_search.rb