Module: Pubid::IdentifierMetadata::InstanceMethods
- Defined in:
- lib/pubid/identifier_metadata.rb
Instance Method Summary collapse
-
#metadata ⇒ Metadata?
Get metadata for this instance’s class.
-
#slug ⇒ String?
Get the machine-readable slug.
-
#type_key ⇒ Symbol?
Get the type key for this identifier.
Instance Method Details
#metadata ⇒ Metadata?
Get metadata for this instance’s class
126 127 128 |
# File 'lib/pubid/identifier_metadata.rb', line 126 def self.class. end |
#slug ⇒ String?
Get the machine-readable slug
138 139 140 |
# File 'lib/pubid/identifier_metadata.rb', line 138 def slug &.slug end |
#type_key ⇒ Symbol?
Get the type key for this identifier
132 133 134 |
# File 'lib/pubid/identifier_metadata.rb', line 132 def type_key self.class.type_key end |