module Google::Scholar

Constants

VERSION

Public Class Methods

author_search_url(author) click to toggle source

@TODO May want to move this to AuthorSearch.

# File lib/google/scholar.rb, line 25
def self.author_search_url(author)
  "#{self.http_scheme}#{self.google_root}/citations?view_op=search_authors&hl=en&mauthors=#{::CGI::escape("author:\"#{author}\"")}"
end
google_root() click to toggle source
# File lib/google/scholar.rb, line 15
def self.google_root
  "scholar.google.com"
end
google_url() click to toggle source
# File lib/google/scholar.rb, line 21
def self.google_url
  "#{self.http_scheme}#{self.google_root}"
end
http_scheme() click to toggle source
# File lib/google/scholar.rb, line 18
def self.http_scheme
  "http://"
end