Class: Ieee::Idams::Isbn

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/ieee/idams/isbn.rb

Overview

Represents an ISBN identifier for a book

Instance Method Summary collapse

Instance Method Details

#content ⇒ String

ISBN number

Returns:

  • (String) —

    13 or 10 digit ISBN, max 15 chars



9
# File 'lib/ieee/idams/isbn.rb', line 9

attribute :content, :string

#isbnfiletype ⇒ String

File type for this ISBN

Returns:

  • (String) —

    one of: paperback, hardcover, ePub, PDF



13
# File 'lib/ieee/idams/isbn.rb', line 13

attribute :isbnfiletype, :string, values: %w[paperback hardcover ePub PDF]

#isbntype ⇒ String

ISBN type specification

Returns:

  • (String) —

    one of: New-2005, Historical



17
# File 'lib/ieee/idams/isbn.rb', line 17

attribute :isbntype, :string, values: %w[New-2005 Historical]

#mediatype ⇒ String

Media type

Returns:

  • (String) —

    one of: Paper, CD, Online, Electronic



21
# File 'lib/ieee/idams/isbn.rb', line 21

attribute :mediatype, :string, values: %w[Paper CD Online Electronic]