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

#contentString

ISBN number

Returns:

  • (String)

    13 or 10 digit ISBN, max 15 chars



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

attribute :content, :string

#isbnfiletypeString

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]

#isbntypeString

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]

#mediatypeString

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]