Class TLC::LibrarySolution
In: library_solution.rb
Parent: Object

The LibrarySolution class represents programmatic access to a TLC Library.Solution v3.3.5 OPAC. The new method takes two arguments:

  • the web server domain - default "demo.tlcdelivers.com"
  • the configuration name - default "pac"

e.g. - ls = TLC::LibrarySolution.new(‘demo.tlcdelivers.com’, ‘pac’)

Methods

clean   get_avail   get_link   get_recordnumber   get_url   has?   new  

Attributes

availability_rn_url  [R] 
availability_url  [R] 
config  [RW] 
detail_url  [R] 
web_server_address  [RW] 

Public Class methods

Public Instance methods

This helper method just cleans up ISBNs

This method returns the raw XML for a request as a REXML::Document. It takes three parameters:

  • ids - either an ISBN or recordnumber or an array of ISBNs or recordnumbers
  • type - :isbn or :rn
  • detail - 0, 1 (default) or 2—you are unlikely to need to specify this

The &curbranch=Mail (e.g.) option is not currently supported.

This method takes an ISBN and returns a formatted link to the title record display or nil

This method takes an ISBN and returns the internal recordnumber

This method takes an ISBN and returns a URL to the title record display or nil

This method takes an ISBN, checks the catalog for a matching record and returns true or false

[Validate]