Module: RBook::Bisac

Defined in:
lib/rbook/bisac.rb,
lib/rbook/bisac/po.rb,
lib/rbook/bisac/message.rb,
lib/rbook/bisac/product.rb,
lib/rbook/bisac/po_line_item.rb

Overview

Ruby module for reading and writing BISAC files. BISAC is a really bad format for electronic exchange of data - ONIX should be used where possible. Here be dragons.

Basic Usage

require 'rubygems'
require 'rbook/bisac'
include Rbook
msg = Bisac::Message.new('Company', '1234567', '111111', '1'))
item = Bisac::Product.new('0123456789')
item.title = "A Book"
item.author = "Healy, James"
item.price = "1995"
item.binding = "PB"
item.status = "AVL"
msg << item
puts msg.to_s

Defined Under Namespace

Classes: Message, PO, POLineItem, Product