Class: Record
- Inherits:
-
Object
- Object
- Record
- Defined in:
- lib/record.rb
Instance Method Summary collapse
- #authors ⇒ Object
- #content_format ⇒ Object
- #content_type ⇒ Object
- #full_record_link ⇒ Object
- #id ⇒ Object
- #imprint ⇒ Object
-
#initialize(record) ⇒ Record
constructor
A new instance of Record.
- #isbns ⇒ Object
- #issns ⇒ Object
- #languages ⇒ Object
- #lccn ⇒ Object
- #locations ⇒ Object
-
#notes ⇒ Object
full record only.
- #oclcs ⇒ Object
- #physical_description ⇒ Object
- #place_of_publication ⇒ Object
- #publication_date ⇒ Object
- #source ⇒ Object
- #source_link ⇒ Object
- #subjects ⇒ Object
- #title ⇒ Object
Constructor Details
#initialize(record) ⇒ Record
Returns a new instance of Record.
2 3 4 |
# File 'lib/record.rb', line 2 def initialize(record) @record = record end |
Instance Method Details
#authors ⇒ Object
34 35 36 |
# File 'lib/record.rb', line 34 def @record['authors'] end |
#content_format ⇒ Object
46 47 48 |
# File 'lib/record.rb', line 46 def content_format @record['content_format'] end |
#content_type ⇒ Object
42 43 44 |
# File 'lib/record.rb', line 42 def content_type @record['content_type'] end |
#full_record_link ⇒ Object
22 23 24 |
# File 'lib/record.rb', line 22 def full_record_link @record['full_record_link'] end |
#id ⇒ Object
6 7 8 |
# File 'lib/record.rb', line 6 def id @record['id'] end |
#imprint ⇒ Object
50 51 52 |
# File 'lib/record.rb', line 50 def imprint @record['imprint'] end |
#isbns ⇒ Object
54 55 56 |
# File 'lib/record.rb', line 54 def isbns @record['isbns'] end |
#issns ⇒ Object
58 59 60 |
# File 'lib/record.rb', line 58 def issns @record['issns'] end |
#languages ⇒ Object
80 81 82 |
# File 'lib/record.rb', line 80 def languages @record['languages'] end |
#lccn ⇒ Object
66 67 68 |
# File 'lib/record.rb', line 66 def lccn @record['lccn'] end |
#locations ⇒ Object
30 31 32 |
# File 'lib/record.rb', line 30 def locations @record['summary_holdings'] end |
#notes ⇒ Object
full record only
72 73 74 |
# File 'lib/record.rb', line 72 def notes @record['notes'] end |
#oclcs ⇒ Object
62 63 64 |
# File 'lib/record.rb', line 62 def oclcs @record['oclcs'] end |
#physical_description ⇒ Object
76 77 78 |
# File 'lib/record.rb', line 76 def physical_description @record['physical_description'] end |
#place_of_publication ⇒ Object
84 85 86 |
# File 'lib/record.rb', line 84 def place_of_publication @record['place_of_publication'] end |
#publication_date ⇒ Object
38 39 40 |
# File 'lib/record.rb', line 38 def publication_date @record['publication_date'] end |
#source ⇒ Object
10 11 12 |
# File 'lib/record.rb', line 10 def source @record['source'] end |
#source_link ⇒ Object
18 19 20 |
# File 'lib/record.rb', line 18 def source_link @record['source_link'] end |
#subjects ⇒ Object
26 27 28 |
# File 'lib/record.rb', line 26 def subjects @record['subjects'] end |
#title ⇒ Object
14 15 16 |
# File 'lib/record.rb', line 14 def title @record['title'] end |