Class: ONIX::SupportingResource
Instance Method Summary
collapse
Methods inherited from SubsetDSL
_ancestor_registered_scopes, _ancestors_registered_elements, ancestor_registered_scopes, ancestors_registered_elements, element, elements, get_class, #initialize, #parse, ref_to_short, registered_elements, registered_scopes, scope, short_to_ref, #unsupported
Methods inherited from Subset
parse, #parse, tag_match, #tag_match, #unsupported
Instance Method Details
#caption ⇒ Object
181
182
183
184
185
|
# File 'lib/onix/supporting_resource.rb', line 181
def caption
if self.caption_feature
self.caption_feature.value
end
end
|
#caption_feature ⇒ Object
177
178
179
|
# File 'lib/onix/supporting_resource.rb', line 177
def caption_feature
self.features.caption.first
end
|
#features ⇒ Object
173
174
175
|
# File 'lib/onix/supporting_resource.rb', line 173
def features
@resource_features
end
|
#mode ⇒ Object
165
166
167
|
# File 'lib/onix/supporting_resource.rb', line 165
def mode
@resource_mode
end
|
#target_audience ⇒ Object
187
188
189
|
# File 'lib/onix/supporting_resource.rb', line 187
def target_audience
@content_audience
end
|
#type ⇒ Object
161
162
163
|
# File 'lib/onix/supporting_resource.rb', line 161
def type
@resource_content_type
end
|
#versions ⇒ Object
169
170
171
|
# File 'lib/onix/supporting_resource.rb', line 169
def versions
@resource_versions
end
|