eLibri ONIX dictionary helper classes
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.travis.yml
Gemfile
Gemfile.lock
LICENSE.txt
README.rdoc
Rakefile
elibri_onix_dict.gemspec

README.rdoc

elibri_onix_dict

Build status

Build Status

Usage guide

ree-1.8.7-2011.03 :005 > Elibri::ONIX::Dict::Release_3_0::ProductFormCode.find_by_onix_code 'BA'
 => #<Elibri::ONIX::Dict::Release_3_0::ProductFormCode:0x1ace440 @onix_code="BA", @name={"pl"=>"książka", "en"=>"book"}, @const_name="BOOK"> 

ree-1.8.7-2011.03 :006 > Elibri::ONIX::Dict::Release_3_0::ProductFormCode::BOOK
 => "BA" 

ree-1.8.7-2011.03 :007 > Elibri::ONIX::Dict::Release_3_0::ProductFormCode.find_by_onix_code('BA').name
 => "książka" 

ree-1.8.7-2011.03 :008 > Elibri::ONIX::Dict::Release_3_0::ProductFormCode.find_by_onix_code('BA').name(:en)
 => "book" 

ree-1.8.7-2011.03 :012 > Elibri::ONIX::Dict::Release_3_0::ProductFormCode.all_except('BA', 'CD', 'CZ', 'AA')

ree-1.8.7-2011.03 :012 > Elibri::ONIX::Dict::Release_3_0::ProductFormCode::ALL

Copyright

Copyright © 2011 Marcin Urbanski. See LICENSE.txt for further details.