Module: Newsmlg2::Base::TargetResourceAttributes
- Included in:
- RemoteContent, Types::Icon, Types::Link1Type
- Defined in:
- lib/newsmlg2/base/target_resource_attributes.rb
Overview
A group of attributes pertaining to any kind of link (link.py).
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/newsmlg2/base/target_resource_attributes.rb', line 7 def self.included(klass) klass.class_eval do xml_attributes( :href, :residref, :version, :persistidref, :contenttype, :contenttypestandardversion, :contenttypevariant, :contenttypevariantstandardversion, :format, :formaturi, :formatstandardversion, :size, :title ) end end |