Class: ARBookFinder::Publisher
- Inherits:
-
Object
- Object
- ARBookFinder::Publisher
- Defined in:
- lib/ar_book_finder/publisher.rb
Instance Attribute Summary collapse
-
#isbn ⇒ Object
readonly
Returns the value of attribute isbn.
-
#lccn ⇒ Object
readonly
Returns the value of attribute lccn.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#page_count ⇒ Object
readonly
Returns the value of attribute page_count.
-
#year_published ⇒ Object
readonly
Returns the value of attribute year_published.
Instance Method Summary collapse
-
#initialize(parsed_data) ⇒ Publisher
constructor
A new instance of Publisher.
Constructor Details
#initialize(parsed_data) ⇒ Publisher
Returns a new instance of Publisher.
6 7 8 |
# File 'lib/ar_book_finder/publisher.rb', line 6 def initialize(parsed_data) load(parsed_data) end |
Instance Attribute Details
#isbn ⇒ Object (readonly)
Returns the value of attribute isbn.
3 4 5 |
# File 'lib/ar_book_finder/publisher.rb', line 3 def isbn @isbn end |
#lccn ⇒ Object (readonly)
Returns the value of attribute lccn.
3 4 5 |
# File 'lib/ar_book_finder/publisher.rb', line 3 def lccn @lccn end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/ar_book_finder/publisher.rb', line 3 def name @name end |
#page_count ⇒ Object (readonly)
Returns the value of attribute page_count.
3 4 5 |
# File 'lib/ar_book_finder/publisher.rb', line 3 def page_count @page_count end |
#year_published ⇒ Object (readonly)
Returns the value of attribute year_published.
3 4 5 |
# File 'lib/ar_book_finder/publisher.rb', line 3 def year_published @year_published end |