Class: Shibkit::MetaMeta::Attribute
- Inherits:
-
MetadataItem
- Object
- MetadataItem
- Shibkit::MetaMeta::Attribute
- Defined in:
- lib/shibkit/meta_meta/attribute.rb
Overview
Class to represent the metadata of the organisation owning a Shibboleth entity
Direct Known Subclasses
Constant Summary collapse
- ROOT_ELEMENT =
Element and attribute used to select XML for new objects
'Attribute'
- TARGET_ATTR =
'Name'
- REQUIRED_QUACKS =
[:Name, :NameFormat]
Constants inherited from MetadataItem
Instance Attribute Summary collapse
-
#friendly_name ⇒ Object
Returns the value of attribute friendly_name.
-
#is_required ⇒ Object
(also: #required?, #is_required?)
Returns the value of attribute is_required.
-
#name ⇒ Object
Returns the value of attribute name.
-
#name_format ⇒ Object
Returns the value of attribute name_format.
-
#values ⇒ Object
Returns the value of attribute values.
Attributes inherited from MetadataItem
Method Summary
Methods inherited from MetadataItem
#filter, #from_xml, #hashed_id, #initialize, #parsed_xml, #purge_xml, #source_xml, #textify_xml, #to_hash, #to_rdf, #to_xml
Constructor Details
This class inherits a constructor from Shibkit::MetaMeta::MetadataItem
Instance Attribute Details
#friendly_name ⇒ Object
Returns the value of attribute friendly_name.
37 38 39 |
# File 'lib/shibkit/meta_meta/attribute.rb', line 37 def friendly_name @friendly_name end |
#is_required ⇒ Object Also known as: required?, is_required?
Returns the value of attribute is_required.
33 34 35 |
# File 'lib/shibkit/meta_meta/attribute.rb', line 33 def is_required @is_required end |
#name ⇒ Object
Returns the value of attribute name.
31 32 33 |
# File 'lib/shibkit/meta_meta/attribute.rb', line 31 def name @name end |
#name_format ⇒ Object
Returns the value of attribute name_format.
35 36 37 |
# File 'lib/shibkit/meta_meta/attribute.rb', line 35 def name_format @name_format end |
#values ⇒ Object
Returns the value of attribute values.
40 41 42 |
# File 'lib/shibkit/meta_meta/attribute.rb', line 40 def values @values end |