Class: ARBookFinder::Publisher

Inherits:
Object
  • Object
show all
Defined in:
lib/ar_book_finder/publisher.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#isbnObject (readonly)

Returns the value of attribute isbn.



3
4
5
# File 'lib/ar_book_finder/publisher.rb', line 3

def isbn
  @isbn
end

#lccnObject (readonly)

Returns the value of attribute lccn.



3
4
5
# File 'lib/ar_book_finder/publisher.rb', line 3

def lccn
  @lccn
end

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/ar_book_finder/publisher.rb', line 3

def name
  @name
end

#page_countObject (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_publishedObject (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