Class: NLBSG::GetTitleDetailsResponse

Inherits:
ResponseBase show all
Defined in:
lib/nlbsg/response/get_title_details.rb

Instance Attribute Summary

Attributes inherited from ResponseBase

#response

Instance Method Summary collapse

Methods inherited from ResponseBase

#error_message, #message, #status

Constructor Details

#initialize(response) ⇒ GetTitleDetailsResponse

Returns a new instance of GetTitleDetailsResponse.



4
5
6
# File 'lib/nlbsg/response/get_title_details.rb', line 4

def initialize(response)
  super(response.to_hash[:get_title_details_response])
end

Instance Method Details

#authorObject



20
21
22
# File 'lib/nlbsg/response/get_title_details.rb', line 20

def author
  title_detail[:author]
end

#bidObject



12
13
14
# File 'lib/nlbsg/response/get_title_details.rb', line 12

def bid
  title_detail[:bid]
end

#isbnObject



48
49
50
# File 'lib/nlbsg/response/get_title_details.rb', line 48

def isbn
  title_detail[:isbn]
end

#issnObject



52
53
54
# File 'lib/nlbsg/response/get_title_details.rb', line 52

def issn
  title_detail[:issn]
end

#n_author_nameObject



60
61
62
# File 'lib/nlbsg/response/get_title_details.rb', line 60

def n_author_name
  title_detail[:n_author_name]
end

#n_publisherObject



64
65
66
# File 'lib/nlbsg/response/get_title_details.rb', line 64

def n_publisher
  title_detail[:n_publisher]
end

#n_title_nameObject



56
57
58
# File 'lib/nlbsg/response/get_title_details.rb', line 56

def n_title_name
  title_detail[:n_title_name]
end

#notesObject



44
45
46
# File 'lib/nlbsg/response/get_title_details.rb', line 44

def notes
  title_detail[:notes]
end

#other_authorsObject



24
25
26
# File 'lib/nlbsg/response/get_title_details.rb', line 24

def other_authors
  title_detail[:other_authors]
end

#physical_descObject



32
33
34
# File 'lib/nlbsg/response/get_title_details.rb', line 32

def physical_desc
  title_detail[:physical_desc]
end

#publisherObject



28
29
30
# File 'lib/nlbsg/response/get_title_details.rb', line 28

def publisher
  title_detail[:publisher]
end

#subjectObject



36
37
38
# File 'lib/nlbsg/response/get_title_details.rb', line 36

def subject
  title_detail[:subject]
end

#summaryObject



40
41
42
# File 'lib/nlbsg/response/get_title_details.rb', line 40

def summary
  title_detail[:summary]
end

#title_detailObject



8
9
10
# File 'lib/nlbsg/response/get_title_details.rb', line 8

def title_detail
  response[:title_detail]
end

#title_nameObject



16
17
18
# File 'lib/nlbsg/response/get_title_details.rb', line 16

def title_name
  title_detail[:title_name]
end