a partially random number is given as the group number for a zserver by irspy_yaml...
[zcc.git] / specs / classes.rb
blobea46e5769450eadb8c148170f1a7c39814109698
1 #       PSEUDO!!!!!!!!!!!
3 module ZCC
4   class Configuration
5     
6     
7   end
8   
9     
10   
12   
13   
14   class MARC21 < Record
15     @marc #MARC::Record obj
16     @authorities #array of ZCC::Authority records
17     def title end #245a
18     def author end #1XX?
19     def extent end #260a
20     def year_260 end
21     def years_fixed end
22     def save(format) end #save MARC record to file in proper format (MARC, MARCXML)
23   end
24   
25   #later
26   class UNIMARC < Record end
27   class XML < Record end
28   class MODS < XML end
29   
31   
32   class Authority
33     @MARC #MARC::Record representation of the authority record
34     @type #PN = personal name, CO = corporate...
35     @source #usually LC
36     @wcid #a WCID object. make sure to include the full xml in a wcid object if it's not already
37   end
39 end
41 module ZCC #module methods    
42   
43   def update_zservers  #updates the zservers.yaml file.
44     #reads in the zservers.yaml file
45     #finds a match in irspy
46     #extracts a Zserver obj for each
47   end
48 end