Class: ONIX::ONIX21::NotForSale

Inherits:
SubsetDSL show all
Defined in:
lib/onix/onix21.rb

Instance Attribute Summary

Attributes included from Attributes

#attributes

Low level collapse

Instance Method Summary collapse

Methods inherited from SubsetDSL

#get_class, ref_to_short, short_to_ref

Methods inherited from SubsetDSL

element, elements, #get_class, get_class, inherited, #initialize, n, #parse, ref_to_short, register_elements, register_scopes, #register_subset_array, registered_elements, #registered_elements, registered_scopes, scope, short_to_ref

Methods inherited from Subset

parse, #parse, #tag_match, #unsupported

Methods included from Attributes

attribute_class, #parse_attributes, #serialized_attributes

Constructor Details

This class inherits a constructor from ONIX::SubsetDSL

Instance Method Details

#rights_countryString

Returns:

  • (String)


229
# File 'lib/onix/onix21.rb', line 229

element "RightsCountry", :text

#territoryObject



231
232
233
# File 'lib/onix/onix21.rb', line 231

def territory
  Territory.new(@rights_country.split(" "))
end