Sha256: aaec0cbc79422bd892848e02b7b7235d144c153f4affff668112993e43728177
Contents?: true
Size: 662 Bytes
Versions: 2
Compression:
Stored size: 662 Bytes
Contents
# coding: utf-8 module ONIX # See also: NotForSale. It's possible to set not for sale here as well. # class SalesRights include ROXML xml_name "SalesRights" xml_accessor :sales_rights_type, :from => "SalesRightsType", :as => Fixnum, :to_xml => ONIX::Formatters.two_digit xml_accessor(:rights_countries, :from => "RightsCountry", :to_xml => ONIX::Formatters.space_separated) { |v| v.split if v } xml_accessor(:rights_territories, :from => "RightsTerritory", :to_xml => ONIX::Formatters.space_separated) { |v| v.split if v } # Deprecated accessors xml_accessor(:rights_region, :from => "RightsRegion", :as => []) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
milkfarm-onix-0.8.13 | lib/onix/sales_rights.rb |
milkfarm-onix-0.8.12 | lib/onix/sales_rights.rb |