module ONIX::IsbnMethods

Public Instance Methods

isbn13() click to toggle source

ISBN-13 string identifier from identifiers @return [String]

# File lib/onix/identifier.rb, line 95
def isbn13
  if isbn13_identifier
    isbn13_identifier.value
  else
    nil
  end
end

Private Instance Methods

isbn13_identifier() click to toggle source
# File lib/onix/identifier.rb, line 104
def isbn13_identifier
  self.identifiers.select{|id| id.type.human=="Isbn13"}.first
end