Class: Rea::DBLP::Grab

Inherits:
Object
  • Object
show all
Includes:
Rea::DBLP
Defined in:
lib/rea-dblp/rea/dblp/grab.rb

Instance Method Summary collapse

Methods included from Rea::DBLP

grab, search, shortcut, url

Methods included from ErrorUtils

#error_message, #not_found_error!, #not_implemented_error!, #parse_error!, #parse_format_error!, #third_party_error!, #unexpected_error!

Instance Method Details

#call(identifier) ⇒ Object



6
7
8
9
10
# File 'lib/rea-dblp/rea/dblp/grab.rb', line 6

def call(identifier)
  xml    = get entry_url(identifier)
  tuples = EntryParser.parse(xml)
  tuples.first
end